Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.000923, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001052/0.001052, allocations: 177.3 kB / 15.95 MB, free: 208 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.356/1.356, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2789/0.2789, allocations: 39.99 MB / 310.4 MB, free: 9.938 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.2. 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.0005096/0.0005096, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09827, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.2004/0.2987, allocations: 35.42 MB / 472.2 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.3151, allocations: 17.37 MB / 489.6 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007628/0.3159, allocations: 23.38 kB / 489.6 MB, free: 22.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.317, allocations: 428.5 kB / 490 MB, free: 22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009323/0.3263, allocations: 4.084 MB / 494.1 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006823/0.3331, allocations: 2.942 MB / 497 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.3347, allocations: 1.008 MB / 498 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.3352, allocations: 387.3 kB / 498.4 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009646/0.3362, allocations: 0.6435 MB / 499.1 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007989/0.3442, allocations: 5.835 MB / 0.4931 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.3444, allocations: 32.47 kB / 0.4931 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/0.3588, allocations: 7.556 MB / 0.5005 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.3592, allocations: 155.9 kB / 0.5006 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.3596, allocations: 172.7 kB / 0.5008 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.3682, allocations: 3.569 MB / 0.5043 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.3683, allocations: 4 kB / 0.5043 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3683, allocations: 1.156 kB / 0.5043 GB, free: 14.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.3683, allocations: 0 / 0.5043 GB, free: 14.24 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005185/0.3735, allocations: 1.567 MB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3735, allocations: 8.531 kB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.3757, allocations: 304.4 kB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.3765, allocations: 0.5178 MB / 0.5066 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.3765, allocations: 54.28 kB / 0.5067 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.109e-05/0.3766, allocations: 51.47 kB / 0.5067 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.3788, allocations: 1.012 MB / 0.5077 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3788, allocations: 7.234 kB / 0.5077 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.3789, allocations: 26.22 kB / 0.5077 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.3789, allocations: 22.62 kB / 0.5078 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.3813, allocations: 0.9474 MB / 0.5087 GB, free: 11.41 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.004551/0.3858, allocations: 4.736 MB / 0.5133 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.3883, allocations: 0.8802 MB / 0.5142 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04537/0.4337, allocations: 24.51 MB / 0.5381 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.4338, allocations: 42.88 kB / 0.5381 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 1.953e-06/0.4338, allocations: 0 / 0.5381 GB, free: 13.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.006482/0.4403, allocations: 1.832 MB / 0.5399 GB, free: 11.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4403, allocations: 106.8 kB / 0.54 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.441, allocations: 0.5107 MB / 0.5405 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.441, allocations: 33.64 kB / 0.5406 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.4412, allocations: 332.1 kB / 0.5409 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.4414, allocations: 161.8 kB / 0.541 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.4414, allocations: 16 kB / 0.5411 GB, free: 10.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4416, allocations: 366.8 kB / 0.5414 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.4422, allocations: 272.9 kB / 0.5417 GB, free: 9.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/0.443, allocations: 455.7 kB / 0.5421 GB, free: 8.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.4437, allocations: 315.7 kB / 0.5424 GB, free: 8.672 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4437, allocations: 3.938 kB / 0.5424 GB, free: 8.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001919/0.4456, allocations: 0.8877 MB / 0.5433 GB, free: 7.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006883/0.4463, allocations: 2.09 MB / 0.5453 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4464, allocations: 8 kB / 0.5453 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.4481, allocations: 360.5 kB / 0.5457 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.4487, allocations: 143.8 kB / 0.5458 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.4497, allocations: 0.8333 MB / 0.5466 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.4504, allocations: 119.3 kB / 0.5467 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.4505, allocations: 35.98 kB / 0.5468 GB, free: 4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.4505, allocations: 4 kB / 0.5468 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001983/0.4525, allocations: 0.8311 MB / 0.5476 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.4525, allocations: 6.562 kB / 0.5476 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000897/0.4534, allocations: 225.3 kB / 0.5478 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.454, allocations: 143.8 kB / 0.5479 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000887/0.4549, allocations: 0.7942 MB / 0.5487 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.4555, allocations: 115.4 kB / 0.5488 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.4556, allocations: 27.98 kB / 0.5488 GB, free: 1.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003494/0.4559, allocations: 295.4 kB / 0.5491 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.456, allocations: 67.23 kB / 0.5492 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.4597, allocations: 2.951 MB / 0.5521 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/0.4598, allocations: 47.92 kB / 0.5521 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4598, allocations: 0 / 0.5521 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4598, allocations: 7.484 kB / 0.5521 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.4613, allocations: 1.405 MB / 0.5535 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4614, allocations: 0 / 0.5535 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.4618, allocations: 99.86 kB / 0.5536 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.4638, allocations: 1.069 MB / 0.5546 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.4639, allocations: 8 kB / 0.5546 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.4655, allocations: 1.501 MB / 0.5561 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4655, allocations: 0 / 0.5561 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.4681, allocations: 1.937 MB / 0.558 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.4685, allocations: 366.7 kB / 0.5584 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4687, allocations: 8 kB / 0.5584 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.4692, allocations: 95.77 kB / 0.5585 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4693, allocations: 48.47 kB / 0.5585 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.4694, allocations: 20 kB / 0.5585 GB, free: 7.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006512/0.47, allocations: 0.5614 MB / 0.5591 GB, free: 7.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.47, allocations: 0 / 0.5591 GB, free: 7.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00488/0.4749, allocations: 1.382 MB / 0.5604 GB, free: 5.844 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.005604/0.4805, allocations: 1.362 MB / 0.5617 GB, free: 4.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.4835, allocations: 1.345 MB / 0.5631 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4835, allocations: 0 / 0.5631 GB, free: 3.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4846, allocations: 0.7338 MB / 0.5638 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.4862, allocations: 326.8 kB / 0.5641 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.4895, allocations: 2.813 MB / 0.5668 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.4902, allocations: 1.15 MB / 0.568 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001045/0.4913, allocations: 0.7018 MB / 0.5686 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4914, allocations: 55.42 kB / 0.5687 GB, free: 13.31 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4914, allocations: 4 kB / 0.5687 GB, free: 13.31 MB / 446.1 MB Notification: Performance of Templates: time 0.06429/0.5557, allocations: 49.38 MB / 0.6169 GB, free: 11.91 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) Environment - environmentSimulation: