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.001011/0.001011, allocations: 92.16 kB / 16.3 MB, free: 5.996 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.001013/0.001013, allocations: 182.1 kB / 17.2 MB, free: 5.914 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.735/1.735, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.53/0.53, allocations: 48.77 MB / 320.4 MB, free: 3.816 MB / 254.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.0005013/0.0005013, allocations: 20 kB / 391.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 60.24 MB / 451.5 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.3945/0.5284, allocations: 30.21 MB / 481.7 MB, free: 31.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.5466, allocations: 7.686 MB / 489.4 MB, free: 26.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.5487, allocations: 19.03 kB / 489.4 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.55, allocations: 130.7 kB / 489.5 MB, free: 26.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.5531, allocations: 329.8 kB / 489.8 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02493/0.5781, allocations: 3.484 MB / 493.3 MB, free: 24.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.5803, allocations: 0.5716 MB / 493.9 MB, free: 24.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.5813, allocations: 311.8 kB / 494.2 MB, free: 24.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.5839, allocations: 0.7975 MB / 495 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000968/0.5849, allocations: 399.1 kB / 495.4 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.585, allocations: 27.28 kB / 495.4 MB, free: 23.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02388/0.6089, allocations: 6.078 MB / 0.4897 GB, free: 21.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.6092, allocations: 91.94 kB / 0.4898 GB, free: 21.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.6097, allocations: 135.5 kB / 0.49 GB, free: 21.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.6201, allocations: 2.687 MB / 0.4926 GB, free: 19.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6201, allocations: 3.938 kB / 0.4926 GB, free: 19.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.6201, allocations: 0 / 0.4926 GB, free: 19.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.6202, allocations: 4 kB / 0.4926 GB, free: 19.87 MB / 382.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.006628/0.6268, allocations: 1.152 MB / 0.4937 GB, free: 19.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.6269, allocations: 9.938 kB / 0.4937 GB, free: 19.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.6271, allocations: 89.48 kB / 0.4938 GB, free: 18.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.6275, allocations: 73.27 kB / 0.4939 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008205/0.6283, allocations: 381.8 kB / 0.4942 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.6284, allocations: 64.33 kB / 0.4943 GB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.6286, allocations: 55.34 kB / 0.4944 GB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.6303, allocations: 0.5208 MB / 0.4949 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.6303, allocations: 1.25 kB / 0.4949 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.6304, allocations: 24.59 kB / 0.4949 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.6304, allocations: 10.97 kB / 0.4949 GB, free: 18.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.632, allocations: 422.6 kB / 0.4953 GB, free: 17.94 MB / 382.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.004074/0.6361, allocations: 2.058 MB / 0.4973 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.6374, allocations: 336.2 kB / 0.4976 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1008/0.7382, allocations: 32.3 MB / 0.5292 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/0.7383, allocations: 34.56 kB / 0.5292 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 7.324e-06/0.7384, allocations: 0 / 0.5292 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=38): time 0.006766/0.7451, allocations: 1.671 MB / 0.5309 GB, free: 13.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.7453, allocations: 63.34 kB / 0.5309 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007254/0.746, allocations: 365.7 kB / 0.5313 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.7461, allocations: 29.7 kB / 0.5313 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.7463, allocations: 256.2 kB / 0.5315 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.7465, allocations: 130 kB / 0.5317 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.7466, allocations: 8 kB / 0.5317 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.7468, allocations: 362.7 kB / 0.532 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/0.7473, allocations: 132.8 kB / 0.5321 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.7479, allocations: 202.6 kB / 0.5323 GB, free: 11.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.7485, allocations: 157.5 kB / 0.5325 GB, free: 11.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7485, allocations: 0 / 0.5325 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001629/0.7501, allocations: 478.2 kB / 0.5329 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004044/0.7505, allocations: 0.6163 MB / 0.5335 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.7506, allocations: 6.109 kB / 0.5335 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007756/0.7514, allocations: 92.77 kB / 0.5336 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.752, allocations: 95.89 kB / 0.5337 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009287/0.7529, allocations: 0.6459 MB / 0.5344 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.7536, allocations: 45.69 kB / 0.5344 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.7537, allocations: 16 kB / 0.5344 GB, free: 9.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7537, allocations: 7.938 kB / 0.5344 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/0.7552, allocations: 420.8 kB / 0.5348 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7553, allocations: 4 kB / 0.5348 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.7556, allocations: 56.81 kB / 0.5349 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.7562, allocations: 103.8 kB / 0.535 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/0.759, allocations: 1.646 MB / 0.5366 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.7597, allocations: 35.97 kB / 0.5366 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.7597, allocations: 16 kB / 0.5366 GB, free: 6.836 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004687/0.7602, allocations: 249 kB / 0.5369 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7604, allocations: 48.56 kB / 0.5369 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.7623, allocations: 0.7182 MB / 0.5376 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.7624, allocations: 4 kB / 0.5376 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7624, allocations: 0 / 0.5376 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.7624, allocations: 3.984 kB / 0.5376 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.7657, allocations: 1.421 MB / 0.539 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.7657, allocations: 0 / 0.539 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.7664, allocations: 91.88 kB / 0.5391 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009274/0.7673, allocations: 366 kB / 0.5395 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.7674, allocations: 15.11 kB / 0.5395 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.7686, allocations: 0.8338 MB / 0.5403 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7686, allocations: 4.031 kB / 0.5403 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.7715, allocations: 1.066 MB / 0.5413 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.7719, allocations: 148.5 kB / 0.5415 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.772, allocations: 8 kB / 0.5415 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.7725, allocations: 39.91 kB / 0.5415 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.7727, allocations: 35.91 kB / 0.5415 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.7727, allocations: 16 kB / 0.5416 GB, free: 1.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004639/0.7732, allocations: 259.2 kB / 0.5418 GB, free: 1.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7732, allocations: 4.031 kB / 0.5418 GB, free: 1.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006701/0.7799, allocations: 0.9683 MB / 0.5428 GB, free: 372 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0123/0.7923, allocations: 2.629 MB / 0.5453 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.7951, allocations: 0.7304 MB / 0.546 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.7951, allocations: 4.125 kB / 0.546 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.796, allocations: 262.1 kB / 0.5463 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.7976, allocations: 158.3 kB / 0.5464 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.8098, allocations: 4.288 MB / 0.5506 GB, free: 8.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.8105, allocations: 0.867 MB / 0.5515 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006501/0.8112, allocations: 99.97 kB / 0.5516 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.8116, allocations: 191.3 kB / 0.5518 GB, free: 6.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.914e-06/0.8116, allocations: 4 kB / 0.5518 GB, free: 6.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.9206, allocations: 40.63 MB / 0.5914 GB, free: 14.35 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.9211, allocations: 207.4 kB / 0.5916 GB, free: 14.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.704/6.625, allocations: 0 / 0.5916 GB, free: 14.1 MB / 478.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/linux/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) Environment - environmentSimulation: