Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008616, allocations: 86.81 kB / 16.65 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 185.5 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.4 MB / 223.8 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2345/0.2345, allocations: 48.79 MB / 320.8 MB, free: 11.11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 14.17 kB / 391.9 MB, free: 49.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07827/0.07872, allocations: 60.27 MB / 452.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03213/0.1109, allocations: 35.85 MB / 488 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.1213, allocations: 9.357 MB / 497.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.1217, allocations: 23.88 kB / 497.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.1222, allocations: 139.1 kB / 497.5 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006742/0.1229, allocations: 310.2 kB / 497.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008242/0.1311, allocations: 3.614 MB / 0.4897 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1321, allocations: 1.051 MB / 0.4907 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.1326, allocations: 338.9 kB / 0.4911 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.1333, allocations: 0.5101 MB / 0.4916 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.1337, allocations: 370.4 kB / 0.4919 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.1338, allocations: 28 kB / 0.4919 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008395/0.1422, allocations: 6.185 MB / 0.498 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1423, allocations: 95.59 kB / 0.4981 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.1425, allocations: 304.2 kB / 0.4984 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.1482, allocations: 3.956 MB / 0.5022 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1483, allocations: 0 / 0.5022 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1483, allocations: 0 / 0.5022 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1483, allocations: 0 / 0.5022 GB, free: 10.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003204/0.1515, allocations: 1.138 MB / 0.5033 GB, free: 9.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1515, allocations: 12.03 kB / 0.5033 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.1516, allocations: 94.64 kB / 0.5034 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.1519, allocations: 84.17 kB / 0.5035 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.1523, allocations: 391.5 kB / 0.5039 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.1524, allocations: 63.27 kB / 0.5039 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.1525, allocations: 51.94 kB / 0.504 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1535, allocations: 0.531 MB / 0.5045 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1535, allocations: 0 / 0.5045 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.1536, allocations: 20 kB / 0.5045 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1536, allocations: 12 kB / 0.5045 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.1545, allocations: 423.7 kB / 0.505 GB, free: 7.867 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.1569, allocations: 2.064 MB / 0.507 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.1575, allocations: 338.7 kB / 0.5073 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.1579, allocations: 192.6 kB / 0.5075 GB, free: 5.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2106/0.3685, allocations: 32.27 MB / 0.539 GB, free: 77.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3686, allocations: 39.78 kB / 0.539 GB, free: 77.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.3686, allocations: 1.188 kB / 0.539 GB, free: 77.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.003691/0.3723, allocations: 1.678 MB / 0.5407 GB, free: 76.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.3723, allocations: 56.81 kB / 0.5407 GB, free: 76.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.3727, allocations: 372.8 kB / 0.5411 GB, free: 76.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3727, allocations: 32.83 kB / 0.5411 GB, free: 76.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3729, allocations: 247.1 kB / 0.5413 GB, free: 76.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.373, allocations: 138.5 kB / 0.5415 GB, free: 76.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.373, allocations: 39.14 kB / 0.5415 GB, free: 76.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.3731, allocations: 359.7 kB / 0.5419 GB, free: 75.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.3734, allocations: 136.6 kB / 0.542 GB, free: 75.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.3738, allocations: 207.7 kB / 0.5422 GB, free: 75.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.3744, allocations: 362.4 kB / 0.5425 GB, free: 75.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3744, allocations: 0 / 0.5425 GB, free: 75.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009638/0.3754, allocations: 496.9 kB / 0.543 GB, free: 75.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.3754, allocations: 135.9 kB / 0.5431 GB, free: 75.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3754, allocations: 0.9375 kB / 0.5431 GB, free: 75.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/0.3759, allocations: 110.3 kB / 0.5432 GB, free: 75.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3763, allocations: 97.31 kB / 0.5433 GB, free: 75.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000482/0.3768, allocations: 0.6352 MB / 0.544 GB, free: 75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.3771, allocations: 42.55 kB / 0.544 GB, free: 74.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.3771, allocations: 19.97 kB / 0.544 GB, free: 74.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/0.3771, allocations: 2.969 kB / 0.544 GB, free: 74.99 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008823/0.378, allocations: 424 kB / 0.5444 GB, free: 74.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.378, allocations: 5.312 kB / 0.5444 GB, free: 74.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.3782, allocations: 62.59 kB / 0.5445 GB, free: 74.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3785, allocations: 94.53 kB / 0.5446 GB, free: 74.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3799, allocations: 1.634 MB / 0.5462 GB, free: 73.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.3801, allocations: 41.22 kB / 0.5462 GB, free: 73.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3802, allocations: 15.38 kB / 0.5462 GB, free: 73.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.3804, allocations: 247.8 kB / 0.5465 GB, free: 73.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.3805, allocations: 49.75 kB / 0.5465 GB, free: 73.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3815, allocations: 0.713 MB / 0.5472 GB, free: 72.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3815, allocations: 9.422 kB / 0.5472 GB, free: 72.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3815, allocations: 0 / 0.5472 GB, free: 72.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3816, allocations: 8.844 kB / 0.5472 GB, free: 72.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.3833, allocations: 1.418 MB / 0.5486 GB, free: 72.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3833, allocations: 5.828 kB / 0.5486 GB, free: 72.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.3837, allocations: 88.98 kB / 0.5487 GB, free: 72.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/0.3842, allocations: 371 kB / 0.5491 GB, free: 71.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3842, allocations: 7.844 kB / 0.5491 GB, free: 71.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005085/0.3847, allocations: 0.844 MB / 0.5499 GB, free: 71.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3847, allocations: 2.031 kB / 0.5499 GB, free: 71.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.3861, allocations: 1.025 MB / 0.5509 GB, free: 70.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3862, allocations: 151.9 kB / 0.551 GB, free: 70.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.3863, allocations: 12.19 kB / 0.551 GB, free: 70.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.3866, allocations: 45.72 kB / 0.5511 GB, free: 70.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.3867, allocations: 29.55 kB / 0.5511 GB, free: 70.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3867, allocations: 10.34 kB / 0.5511 GB, free: 70.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002073/0.3869, allocations: 262.8 kB / 0.5514 GB, free: 70.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3869, allocations: 0 / 0.5514 GB, free: 70.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002409/0.3893, allocations: 0.9682 MB / 0.5523 GB, free: 70.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00417/0.3935, allocations: 2.363 MB / 0.5546 GB, free: 68.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.3948, allocations: 0.7445 MB / 0.5554 GB, free: 68.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3948, allocations: 0 / 0.5554 GB, free: 68.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.3953, allocations: 267 kB / 0.5556 GB, free: 68.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.3962, allocations: 162.2 kB / 0.5558 GB, free: 68.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.4015, allocations: 5.014 MB / 0.5607 GB, free: 64.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.4017, allocations: 0.8578 MB / 0.5615 GB, free: 64.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002719/0.402, allocations: 95.72 kB / 0.5616 GB, free: 64.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.4022, allocations: 184.3 kB / 0.5618 GB, free: 63.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4022, allocations: 0 / 0.5618 GB, free: 63.9 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.4474, allocations: 40.29 MB / 0.6011 GB, free: 23.63 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.4475, allocations: 223.9 kB / 0.6013 GB, free: 23.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/3.887, allocations: 0 / 0.6013 GB, free: 23.37 MB / 414.1 MB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)