Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0008977/0.0008977, allocations: 99.55 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.001008/0.001008, 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.372/1.372, 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.2948/0.2948, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.0005275/0.0005275, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.2221/0.3332, allocations: 35.43 MB / 469.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.3512, allocations: 17.36 MB / 486.7 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.3523, allocations: 32.5 kB / 486.7 MB, free: 24.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.3537, allocations: 430.8 kB / 487.2 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01523/0.369, allocations: 4.079 MB / 491.2 MB, free: 22.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00907/0.3781, allocations: 2.929 MB / 494.2 MB, free: 21.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.38, allocations: 1.013 MB / 495.2 MB, free: 20.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.3805, allocations: 383 kB / 495.6 MB, free: 20.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.3817, allocations: 0.6407 MB / 496.2 MB, free: 20.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008714/0.3904, allocations: 5.835 MB / 0.4903 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.3907, allocations: 31.91 kB / 0.4903 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01728/0.408, allocations: 7.568 MB / 0.4977 GB, free: 17.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.4083, allocations: 152.2 kB / 0.4978 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.4087, allocations: 175.2 kB / 0.498 GB, free: 17.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008357/0.4171, allocations: 3.565 MB / 0.5015 GB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4171, allocations: 1.156 kB / 0.5015 GB, free: 17.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4171, allocations: 0 / 0.5015 GB, free: 17.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4171, allocations: 0 / 0.5015 GB, free: 17.09 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.005765/0.4229, allocations: 1.564 MB / 0.503 GB, free: 16.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4229, allocations: 8.219 kB / 0.503 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.4252, allocations: 320 kB / 0.5033 GB, free: 16.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.426, allocations: 0.5116 MB / 0.5038 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/0.4261, allocations: 46.44 kB / 0.5039 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/0.4262, allocations: 55.41 kB / 0.5039 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.4286, allocations: 1.015 MB / 0.5049 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4287, allocations: 1.188 kB / 0.5049 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.4287, allocations: 26.91 kB / 0.5049 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.4288, allocations: 25.56 kB / 0.505 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.4314, allocations: 0.9448 MB / 0.5059 GB, free: 14.71 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.005088/0.4365, allocations: 4.753 MB / 0.5105 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.4391, allocations: 0.8721 MB / 0.5114 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05013/0.4892, allocations: 24.51 MB / 0.5353 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.741e-05/0.4893, allocations: 42.06 kB / 0.5354 GB, free: 1.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.086e-06/0.4894, allocations: 0 / 0.5354 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.006936/0.4963, allocations: 1.824 MB / 0.5371 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.4964, allocations: 106.8 kB / 0.5372 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.497, allocations: 0.5145 MB / 0.5377 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.4971, allocations: 37.7 kB / 0.5378 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.4973, allocations: 336.1 kB / 0.5381 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4975, allocations: 157.7 kB / 0.5383 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4975, allocations: 11.94 kB / 0.5383 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4977, allocations: 374.7 kB / 0.5386 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.4984, allocations: 276.9 kB / 0.5389 GB, free: 13.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.4992, allocations: 447.8 kB / 0.5393 GB, free: 13.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.4999, allocations: 311.6 kB / 0.5396 GB, free: 13.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4999, allocations: 4 kB / 0.5396 GB, free: 13.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00194/0.5019, allocations: 0.8949 MB / 0.5405 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007507/0.5026, allocations: 2.095 MB / 0.5425 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5027, allocations: 7.984 kB / 0.5425 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.5045, allocations: 360.5 kB / 0.5429 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.5051, allocations: 139.8 kB / 0.543 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.5061, allocations: 0.8372 MB / 0.5438 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.5069, allocations: 119.4 kB / 0.544 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.507, allocations: 39.98 kB / 0.544 GB, free: 8.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.507, allocations: 4 kB / 0.544 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002086/0.5091, allocations: 0.8274 MB / 0.5448 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5091, allocations: 8 kB / 0.5448 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009445/0.5101, allocations: 221 kB / 0.545 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.5106, allocations: 151.8 kB / 0.5452 GB, free: 7.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009796/0.5116, allocations: 0.7942 MB / 0.5459 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.5123, allocations: 103.5 kB / 0.546 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.5124, allocations: 39.98 kB / 0.5461 GB, free: 6.309 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.0004458/0.5129, allocations: 285.9 kB / 0.5463 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.513, allocations: 63.25 kB / 0.5464 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.5169, allocations: 2.951 MB / 0.5493 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.517, allocations: 39.94 kB / 0.5493 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.517, allocations: 0 / 0.5493 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.517, allocations: 0 / 0.5493 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.5189, allocations: 1.417 MB / 0.5507 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5189, allocations: 3.938 kB / 0.5507 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.5193, allocations: 107.6 kB / 0.5508 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/0.5215, allocations: 1.073 MB / 0.5519 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.735e-05/0.5216, allocations: 12 kB / 0.5519 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.5233, allocations: 1.498 MB / 0.5533 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5233, allocations: 0 / 0.5533 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.5262, allocations: 1.93 MB / 0.5552 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.5268, allocations: 370.5 kB / 0.5556 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.5269, allocations: 12 kB / 0.5556 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.5275, allocations: 87.86 kB / 0.5557 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5277, allocations: 52.42 kB / 0.5557 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.5277, allocations: 19.98 kB / 0.5557 GB, free: 12.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007278/0.5285, allocations: 0.5615 MB / 0.5563 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5285, allocations: 0 / 0.5563 GB, free: 11.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006195/0.5347, allocations: 1.374 MB / 0.5576 GB, free: 10.33 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.01117/0.5459, allocations: 1.362 MB / 0.559 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.5492, allocations: 1.361 MB / 0.5603 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.5492, allocations: 0 / 0.5603 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5504, allocations: 0.7221 MB / 0.561 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.5523, allocations: 338.8 kB / 0.5613 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.5562, allocations: 2.813 MB / 0.5641 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.5569, allocations: 1.15 MB / 0.5652 GB, free: 2.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.5581, allocations: 0.7068 MB / 0.5659 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.5582, allocations: 55.44 kB / 0.5659 GB, free: 1.781 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5582, allocations: 0 / 0.5659 GB, free: 1.781 MB / 430.1 MB Notification: Performance of Templates: time 0.07074/0.629, allocations: 49.37 MB / 0.6142 GB, free: 388 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) Environment - environmentSimulation: