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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.29/1.29, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001504/0.001503, allocations: 103.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1757/0.1757, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.711e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08004, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.87/4.95, allocations: 2.502 GB / 2.898 GB, free: 1.406 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/4.95, allocations: 83.95 kB / 2.898 GB, free: 1.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625/6.575, allocations: 425.5 MB / 3.314 GB, free: 53.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/6.575, allocations: 3.219 kB / 3.314 GB, free: 53.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.927e-05/6.575, allocations: 15.06 kB / 3.314 GB, free: 53.29 MB / 442.7 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.006387/6.581, allocations: 1.719 MB / 3.315 GB, free: 52.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/6.581, allocations: 9.938 kB / 3.315 GB, free: 52.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/6.584, allocations: 317.7 kB / 3.316 GB, free: 52.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/6.585, allocations: 0.5769 MB / 3.316 GB, free: 52.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/6.585, allocations: 48.88 kB / 3.316 GB, free: 52.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/6.585, allocations: 52.58 kB / 3.316 GB, free: 52.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/6.587, allocations: 0.9726 MB / 3.317 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/6.587, allocations: 352 / 3.317 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/6.587, allocations: 34.17 kB / 3.317 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/6.587, allocations: 19.31 kB / 3.317 GB, free: 51.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/6.589, allocations: 0.8078 MB / 3.318 GB, free: 51.98 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004501/6.594, allocations: 4.608 MB / 3.323 GB, free: 48.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/6.595, allocations: 0.6924 MB / 3.323 GB, free: 48.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/6.596, allocations: 210.5 kB / 3.324 GB, free: 48.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03036/6.626, allocations: 18.4 MB / 3.341 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/6.626, allocations: 38.47 kB / 3.342 GB, free: 37.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/6.626, allocations: 3.906 kB / 3.342 GB, free: 37.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.02372/6.65, allocations: 4.047 MB / 3.345 GB, free: 36.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/6.65, allocations: 112.8 kB / 3.346 GB, free: 36.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/6.651, allocations: 414.4 kB / 3.346 GB, free: 36.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/6.651, allocations: 35.3 kB / 3.346 GB, free: 36.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/6.651, allocations: 352.9 kB / 3.346 GB, free: 36.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/6.651, allocations: 224 kB / 3.347 GB, free: 36.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/6.651, allocations: 19.47 kB / 3.347 GB, free: 36.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/6.651, allocations: 379.8 kB / 3.347 GB, free: 35.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/6.652, allocations: 276.5 kB / 3.347 GB, free: 35.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/6.653, allocations: 0.494 MB / 3.348 GB, free: 35.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/6.653, allocations: 337.6 kB / 3.348 GB, free: 35.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/6.653, allocations: 7.125 kB / 3.348 GB, free: 35.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002123/6.655, allocations: 1.046 MB / 3.349 GB, free: 35.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006051/6.656, allocations: 2.615 MB / 3.352 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/6.656, allocations: 3.906 kB / 3.352 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/6.66, allocations: 0.8459 MB / 3.352 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/6.661, allocations: 190 kB / 3.353 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/6.662, allocations: 1.627 MB / 3.354 GB, free: 31.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/6.663, allocations: 119.1 kB / 3.354 GB, free: 31.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/6.663, allocations: 47.83 kB / 3.354 GB, free: 31.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/6.663, allocations: 9.906 kB / 3.354 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001925/6.665, allocations: 1.009 MB / 3.355 GB, free: 31.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/6.665, allocations: 7.281 kB / 3.355 GB, free: 31.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/6.668, allocations: 0.5745 MB / 3.356 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/6.668, allocations: 190.7 kB / 3.356 GB, free: 31.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/6.67, allocations: 1.587 MB / 3.358 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009475/6.671, allocations: 111.7 kB / 3.358 GB, free: 29.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/6.671, allocations: 56.53 kB / 3.358 GB, free: 29.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/6.671, allocations: 154.8 kB / 3.358 GB, free: 29.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/6.671, allocations: 68.03 kB / 3.358 GB, free: 29.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/6.676, allocations: 3.654 MB / 3.362 GB, free: 27.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/6.676, allocations: 39.53 kB / 3.362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/6.676, allocations: 0 / 3.362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/6.676, allocations: 3.422 kB / 3.362 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/6.682, allocations: 4.655 MB / 3.366 GB, free: 25.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/6.682, allocations: 3.812 kB / 3.366 GB, free: 25.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/6.682, allocations: 145.2 kB / 3.366 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004207/6.686, allocations: 1.77 MB / 3.368 GB, free: 25.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/6.686, allocations: 26.3 kB / 3.368 GB, free: 25.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/6.688, allocations: 2.366 MB / 3.37 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/6.688, allocations: 3.953 kB / 3.37 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/6.691, allocations: 2.304 MB / 3.373 GB, free: 22.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/6.691, allocations: 321.4 kB / 3.373 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/6.691, allocations: 14.48 kB / 3.373 GB, free: 22.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/6.692, allocations: 119.6 kB / 3.373 GB, free: 22.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/6.692, allocations: 68.34 kB / 3.373 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/6.692, allocations: 32.3 kB / 3.373 GB, free: 22.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000449/6.693, allocations: 407.5 kB / 3.374 GB, free: 21.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/6.693, allocations: 0 / 3.374 GB, free: 21.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00641/6.699, allocations: 1.55 MB / 3.375 GB, free: 21.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009868/6.709, allocations: 1.83 MB / 3.377 GB, free: 21.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003567/6.713, allocations: 1.669 MB / 3.378 GB, free: 20.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/6.713, allocations: 0 / 3.378 GB, free: 20.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/6.714, allocations: 0.9092 MB / 3.379 GB, free: 20.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/6.716, allocations: 288.5 kB / 3.38 GB, free: 20.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4406/7.156, allocations: 75.97 MB / 3.454 GB, free: 61.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/7.157, allocations: 1.14 MB / 3.455 GB, free: 60.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001339/7.158, allocations: 0.6597 MB / 3.456 GB, free: 60.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/7.159, allocations: 58.14 kB / 3.456 GB, free: 60.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.382e-06/7.159, allocations: 0 / 3.456 GB, free: 60.38 MB / 458.7 MB Notification: Performance of Templates: time 0.06893/7.227, allocations: 52.33 MB / 3.507 GB, free: 58.61 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile (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)