Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001468/0.001468, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4796/0.4796, allocations: 38.03 MB / 308.4 MB, free: 10.46 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005453/0.0005453, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1193, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.2494/0.3688, allocations: 35.49 MB / 469.4 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.3873, allocations: 17.41 MB / 486.8 MB, free: 24.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.3885, allocations: 20.94 kB / 486.8 MB, free: 24.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.3898, allocations: 436.6 kB / 487.3 MB, free: 24.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.4017, allocations: 4.077 MB / 491.4 MB, free: 22.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008599/0.4103, allocations: 2.951 MB / 494.3 MB, free: 21.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.4123, allocations: 1.031 MB / 495.3 MB, free: 20.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006239/0.413, allocations: 393 kB / 495.7 MB, free: 20.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.4142, allocations: 0.6553 MB / 496.4 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0087/0.4229, allocations: 5.854 MB / 0.4905 GB, free: 19.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.4233, allocations: 37.16 kB / 0.4905 GB, free: 19.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01773/0.4411, allocations: 7.573 MB / 0.4979 GB, free: 17.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.4415, allocations: 153.8 kB / 0.498 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.4419, allocations: 179.3 kB / 0.4982 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009797/0.4517, allocations: 3.588 MB / 0.5017 GB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4518, allocations: 0 / 0.5017 GB, free: 16.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4518, allocations: 0 / 0.5017 GB, free: 16.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.4518, allocations: 1.062 kB / 0.5017 GB, free: 16.93 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006444/0.4583, allocations: 1.581 MB / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4583, allocations: 10.06 kB / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.4606, allocations: 321.1 kB / 0.5036 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000922/0.4616, allocations: 0.5167 MB / 0.5041 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.4616, allocations: 51.88 kB / 0.5041 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.4617, allocations: 62.7 kB / 0.5042 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.4641, allocations: 1.008 MB / 0.5052 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4642, allocations: 5.562 kB / 0.5052 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.4642, allocations: 28.97 kB / 0.5052 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.4643, allocations: 20.38 kB / 0.5052 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.4667, allocations: 0.9437 MB / 0.5061 GB, free: 14.54 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.005055/0.4718, allocations: 4.888 MB / 0.5109 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.4744, allocations: 0.9007 MB / 0.5118 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04793/0.5224, allocations: 24.43 MB / 0.5356 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.5225, allocations: 42.62 kB / 0.5357 GB, free: 1.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.5225, allocations: 0 / 0.5357 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.007752/0.5302, allocations: 2.046 MB / 0.5377 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5303, allocations: 115.2 kB / 0.5378 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.5311, allocations: 0.5263 MB / 0.5383 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.5311, allocations: 37.7 kB / 0.5383 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.5314, allocations: 336 kB / 0.5387 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.5316, allocations: 161.7 kB / 0.5388 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.5316, allocations: 12 kB / 0.5388 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5318, allocations: 374.8 kB / 0.5392 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.5325, allocations: 301 kB / 0.5395 GB, free: 13.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.5332, allocations: 476.2 kB / 0.5399 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007354/0.534, allocations: 332.6 kB / 0.5402 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.534, allocations: 0 / 0.5402 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002139/0.5362, allocations: 0.9686 MB / 0.5412 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007969/0.537, allocations: 2.008 MB / 0.5432 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.537, allocations: 15.88 kB / 0.5432 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002816/0.5398, allocations: 0.5314 MB / 0.5437 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.5404, allocations: 147.8 kB / 0.5438 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.5416, allocations: 0.8957 MB / 0.5447 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/0.5424, allocations: 131.2 kB / 0.5448 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.5425, allocations: 39.97 kB / 0.5449 GB, free: 7.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.5425, allocations: 4 kB / 0.5449 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/0.5446, allocations: 0.8852 MB / 0.5457 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.5447, allocations: 4.5 kB / 0.5457 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009333/0.5456, allocations: 224.6 kB / 0.546 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5462, allocations: 155.8 kB / 0.5461 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.5473, allocations: 0.8098 MB / 0.5469 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.5481, allocations: 107.4 kB / 0.547 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.5481, allocations: 35.98 kB / 0.547 GB, free: 5.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.5486, allocations: 297.9 kB / 0.5473 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.5487, allocations: 63.25 kB / 0.5474 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/0.5528, allocations: 3.16 MB / 0.5505 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.861e-05/0.5529, allocations: 39.94 kB / 0.5505 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5529, allocations: 4 kB / 0.5505 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5529, allocations: 3.984 kB / 0.5505 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.5546, allocations: 1.52 MB / 0.552 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5547, allocations: 0 / 0.552 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.555, allocations: 91.86 kB / 0.5521 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.558, allocations: 1.222 MB / 0.5533 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.5581, allocations: 19.95 kB / 0.5533 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.5599, allocations: 1.555 MB / 0.5548 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5599, allocations: 0 / 0.5548 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.5631, allocations: 2.176 MB / 0.5569 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.5637, allocations: 334.6 kB / 0.5573 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5638, allocations: 15.98 kB / 0.5573 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.5643, allocations: 91.73 kB / 0.5574 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5645, allocations: 52.42 kB / 0.5574 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.5645, allocations: 23.98 kB / 0.5574 GB, free: 10.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005807/0.5651, allocations: 475 kB / 0.5579 GB, free: 10.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5651, allocations: 0 / 0.5579 GB, free: 10.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005827/0.571, allocations: 1.385 MB / 0.5592 GB, free: 8.676 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.00798/0.579, allocations: 1.363 MB / 0.5606 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003388/0.5824, allocations: 1.5 MB / 0.562 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.5824, allocations: 384 / 0.562 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.5836, allocations: 0.8475 MB / 0.5629 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5854, allocations: 314.6 kB / 0.5632 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.5891, allocations: 2.992 MB / 0.5661 GB, free: 1.652 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.5898, allocations: 1.173 MB / 0.5672 GB, free: 460 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001182/0.591, allocations: 0.7764 MB / 0.568 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.5911, allocations: 59.42 kB / 0.568 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5912, allocations: 0 / 0.568 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Templates: time 0.07087/0.662, allocations: 49.78 MB / 0.6167 GB, free: 13.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) Environment - environmentSimulation: