Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPump,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPump",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.000969/0.0009689, allocations: 87.02 kB / 16.31 MB, free: 6.449 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.001289/0.001288, allocations: 180.9 kB / 17.21 MB, free: 6.32 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.496/1.496, allocations: 205.4 MB / 223.4 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4656/0.4656, allocations: 48.76 MB / 320.4 MB, free: 3.824 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.0005193/0.0005194, allocations: 15.98 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 60.25 MB / 451.5 MB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.2602/0.3889, allocations: 32.2 MB / 483.7 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009216/0.3981, allocations: 8.038 MB / 491.8 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.3986, allocations: 10.75 kB / 491.8 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.3991, allocations: 103.6 kB / 491.9 MB, free: 24.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007814/0.3999, allocations: 267.4 kB / 492.1 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01333/0.4132, allocations: 3.425 MB / 495.6 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.4145, allocations: 0.6746 MB / 496.2 MB, free: 22.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.4149, allocations: 179.5 kB / 496.4 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.4165, allocations: 0.7543 MB / 497.2 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.417, allocations: 354.6 kB / 497.5 MB, free: 22.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.417, allocations: 12.31 kB / 497.5 MB, free: 22.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.4294, allocations: 5.944 MB / 0.4917 GB, free: 19.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.4296, allocations: 53.34 kB / 0.4917 GB, free: 19.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.4299, allocations: 84.52 kB / 0.4918 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005185/0.4351, allocations: 2.423 MB / 0.4942 GB, free: 18.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4351, allocations: 9.188 kB / 0.4942 GB, free: 18.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4351, allocations: 3.938 kB / 0.4942 GB, free: 18.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.4351, allocations: 0 / 0.4942 GB, free: 18.07 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00271/0.4378, allocations: 0.9946 MB / 0.4952 GB, free: 17.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4379, allocations: 9.5 kB / 0.4952 GB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.4379, allocations: 57.64 kB / 0.4952 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4381, allocations: 51.67 kB / 0.4953 GB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.4384, allocations: 291.3 kB / 0.4955 GB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.4385, allocations: 50.27 kB / 0.4956 GB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.4385, allocations: 19.75 kB / 0.4956 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.4392, allocations: 348.5 kB / 0.4959 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4392, allocations: 3.953 kB / 0.496 GB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.4393, allocations: 16.36 kB / 0.496 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4393, allocations: 5.5 kB / 0.496 GB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.44, allocations: 296 kB / 0.4963 GB, free: 16.55 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.001213/0.4412, allocations: 1.434 MB / 0.4977 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.4418, allocations: 221.5 kB / 0.4979 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.4421, allocations: 131.1 kB / 0.498 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05158/0.4937, allocations: 32.43 MB / 0.5297 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4937, allocations: 34.56 kB / 0.5297 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.973e-06/0.4937, allocations: 0 / 0.5297 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002349/0.4961, allocations: 0.7056 MB / 0.5304 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.4961, allocations: 55.41 kB / 0.5304 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4964, allocations: 280.4 kB / 0.5307 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4964, allocations: 29.7 kB / 0.5307 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4965, allocations: 172.3 kB / 0.5309 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.4966, allocations: 70.94 kB / 0.531 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.4966, allocations: 8 kB / 0.531 GB, free: 12.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.4967, allocations: 338.8 kB / 0.5313 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.497, allocations: 107.9 kB / 0.5314 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.4973, allocations: 143.5 kB / 0.5315 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.4975, allocations: 108.9 kB / 0.5316 GB, free: 12.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4976, allocations: 7.984 kB / 0.5316 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008995/0.4985, allocations: 398.2 kB / 0.532 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.4985, allocations: 111.6 kB / 0.5321 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4985, allocations: 0.6875 kB / 0.5321 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/0.499, allocations: 104.9 kB / 0.5322 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.4993, allocations: 55.89 kB / 0.5323 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005014/0.4998, allocations: 0.636 MB / 0.5329 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.5001, allocations: 59.77 kB / 0.533 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.5001, allocations: 13.17 kB / 0.533 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.383e-06/0.5001, allocations: 5.562 kB / 0.533 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007209/0.5009, allocations: 312.6 kB / 0.5333 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5009, allocations: 4 kB / 0.5333 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.501, allocations: 60.89 kB / 0.5333 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.5013, allocations: 63.84 kB / 0.5334 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5028, allocations: 1.647 MB / 0.535 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.5031, allocations: 55.7 kB / 0.5351 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5031, allocations: 8 kB / 0.5351 GB, free: 8.543 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001432/0.5033, allocations: 217.1 kB / 0.5353 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.5033, allocations: 39.52 kB / 0.5353 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.5044, allocations: 0.6426 MB / 0.5359 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.5044, allocations: 11.98 kB / 0.536 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5045, allocations: 4 kB / 0.536 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5045, allocations: 0 / 0.536 GB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.5049, allocations: 410.5 kB / 0.5363 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5049, allocations: 0 / 0.5363 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.5051, allocations: 43.97 kB / 0.5364 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.5056, allocations: 358.4 kB / 0.5367 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5056, allocations: 7.984 kB / 0.5367 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007/0.5063, allocations: 0.8461 MB / 0.5376 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.5064, allocations: 3.953 kB / 0.5376 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5077, allocations: 0.8739 MB / 0.5384 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5078, allocations: 134.2 kB / 0.5386 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.5079, allocations: 15.94 kB / 0.5386 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5081, allocations: 35.97 kB / 0.5386 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.5082, allocations: 24.03 kB / 0.5386 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.5082, allocations: 4 kB / 0.5386 GB, free: 4.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.5084, allocations: 199.1 kB / 0.5388 GB, free: 4.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5084, allocations: 0 / 0.5388 GB, free: 4.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00297/0.5114, allocations: 0.9095 MB / 0.5397 GB, free: 3.668 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.005219/0.5166, allocations: 2.152 MB / 0.5418 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.5179, allocations: 0.5805 MB / 0.5424 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5179, allocations: 3.938 kB / 0.5424 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.5184, allocations: 209.8 kB / 0.5426 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.5192, allocations: 148.9 kB / 0.5427 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.5231, allocations: 2.307 MB / 0.545 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.5234, allocations: 0.7838 MB / 0.5457 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.5237, allocations: 70.91 kB / 0.5458 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.5239, allocations: 111.4 kB / 0.5459 GB, free: 13.19 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5239, allocations: 0 / 0.5459 GB, free: 13.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08017/0.604, allocations: 37.86 MB / 0.5829 GB, free: 7.348 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.6043, allocations: 199.6 kB / 0.5831 GB, free: 7.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.034/4.638, allocations: 0 / 0.5831 GB, free: 7.109 MB / 462.1 MB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPump.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) Environment - environmentSimulation: