Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 186.5 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 240.3 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 93.89 kB / 290.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5822/0.5822, allocations: 64.91 MB / 405.6 MB, free: 18.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001077, allocations: 59.91 kB / 479.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4223, allocations: 63.53 MB / 0.5307 GB, free: 36.76 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009165/0.4316, allocations: 7.44 MB / 0.538 GB, free: 31.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008004/0.4397, allocations: 4.355 MB / 0.5422 GB, free: 28.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.4414, allocations: 6.344 kB / 0.5422 GB, free: 28.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.4434, allocations: 0.5121 MB / 0.5427 GB, free: 28.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.446, allocations: 0.6769 MB / 0.5434 GB, free: 27.63 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4477, allocations: 494.6 kB / 0.5439 GB, free: 27.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005416/0.4531, allocations: 3.189 MB / 0.547 GB, free: 26.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.4546, allocations: 0.6102 MB / 0.5476 GB, free: 25.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.4566, allocations: 0.7144 MB / 0.5483 GB, free: 25.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.4583, allocations: 1.034 MB / 0.5493 GB, free: 25.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.4586, allocations: 79.38 kB / 0.5493 GB, free: 25.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.459, allocations: 78.34 kB / 0.5494 GB, free: 25.3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007231/0.4598, allocations: 0.6772 MB / 0.5501 GB, free: 25.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.4611, allocations: 0.9535 MB / 0.551 GB, free: 24.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.4654, allocations: 2.909 MB / 0.5539 GB, free: 23.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.4655, allocations: 1.156 kB / 0.5539 GB, free: 23.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4655, allocations: 4 kB / 0.5539 GB, free: 23.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001606/0.4656, allocations: 0 / 0.5539 GB, free: 23.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.008426/0.4741, allocations: 2.153 MB / 0.556 GB, free: 22.37 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.374e-05/0.4742, allocations: 9.719 kB / 0.556 GB, free: 22.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/0.4748, allocations: 194.7 kB / 0.5562 GB, free: 22.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.4768, allocations: 0.7504 MB / 0.5569 GB, free: 21.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.477, allocations: 150.2 kB / 0.557 GB, free: 21.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009284/0.4779, allocations: 275.8 kB / 0.5573 GB, free: 21.58 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006817/0.4847, allocations: 2.73 MB / 0.56 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.4848, allocations: 7.312 kB / 0.56 GB, free: 20.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.4851, allocations: 89.36 kB / 0.5601 GB, free: 20.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002794/0.4853, allocations: 156.7 kB / 0.5602 GB, free: 20.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005183/0.4905, allocations: 2.171 MB / 0.5623 GB, free: 19.29 MB / 394.7 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.01774/0.5083, allocations: 10.82 MB / 0.5729 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.5112, allocations: 2.775 MB / 0.5756 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.5126, allocations: 0.6524 MB / 0.5762 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5127, allocations: 25.42 kB / 0.5763 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.5127, allocations: 54.38 kB / 0.5763 GB, free: 7.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 5.039e-06/0.5127, allocations: 0 / 0.5763 GB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=140): time 0.02332/0.5361, allocations: 7.701 MB / 0.5838 GB, free: 1.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00523/0.5414, allocations: 3.869 MB / 0.5876 GB, free: 13.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.5433, allocations: 1.09 MB / 0.5887 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004616/0.5438, allocations: 45.7 kB / 0.5887 GB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000769/0.5446, allocations: 0.9395 MB / 0.5896 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007728/0.5454, allocations: 0.4892 MB / 0.5901 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008081/0.5462, allocations: 448 kB / 0.5905 GB, free: 10.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5464, allocations: 341.9 kB / 0.5909 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.5481, allocations: 0.9025 MB / 0.5918 GB, free: 8.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.5506, allocations: 1.879 MB / 0.5936 GB, free: 6.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/0.5551, allocations: 2.928 MB / 0.5964 GB, free: 3.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/0.5551, allocations: 8 kB / 0.5965 GB, free: 3.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009434/0.5646, allocations: 3.676 MB / 0.6 GB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.5647, allocations: 20 kB / 0.6001 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/0.5647, allocations: 32 kB / 0.6001 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004538/0.5693, allocations: 0.9667 MB / 0.601 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/0.5727, allocations: 0.5576 MB / 0.6016 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.5846, allocations: 6.136 MB / 0.6076 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/0.588, allocations: 227.5 kB / 0.6078 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.5883, allocations: 124 kB / 0.6079 GB, free: 7.215 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.5895, allocations: 0.5684 MB / 0.6085 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.5899, allocations: 122.5 kB / 0.6086 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008078/0.598, allocations: 2.84 MB / 0.6114 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007059/0.6051, allocations: 2.46 MB / 0.6138 GB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.6052, allocations: 4 kB / 0.6138 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/0.6052, allocations: 15.91 kB / 0.6138 GB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.6191, allocations: 6.051 MB / 0.6197 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.6192, allocations: 4 kB / 0.6197 GB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/0.6212, allocations: 284.2 kB / 0.62 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005199/0.6264, allocations: 1.158 MB / 0.6211 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.6266, allocations: 43.98 kB / 0.6211 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009375/0.636, allocations: 5.878 MB / 0.6269 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004968/0.641, allocations: 3.699 MB / 0.6305 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07568/0.7167, allocations: 28.69 MB / 0.6585 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.7172, allocations: 215.5 kB / 0.6587 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/0.7175, allocations: 32 kB / 0.6587 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.719, allocations: 143.7 kB / 0.6589 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/0.7194, allocations: 116.6 kB / 0.659 GB, free: 1.453 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.7196, allocations: 52.11 kB / 0.659 GB, free: 1.402 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.7207, allocations: 0.7001 MB / 0.6597 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7207, allocations: 0 / 0.6597 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004154/0.7248, allocations: 0.8672 MB / 0.6606 GB, free: 15.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.7252, allocations: 153.9 kB / 0.6607 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007256/0.7325, allocations: 2.635 MB / 0.6633 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.7325, allocations: 4.062 kB / 0.6633 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.7366, allocations: 1.376 MB / 0.6646 GB, free: 11.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.7395, allocations: 382.8 kB / 0.665 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.7524, allocations: 6.238 MB / 0.6711 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.7541, allocations: 1.467 MB / 0.6725 GB, free: 3.348 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002221/0.7563, allocations: 464.7 kB / 0.673 GB, free: 2.887 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.7568, allocations: 115.4 kB / 0.6731 GB, free: 2.773 MB / 490.7 MB Notification: Performance of SimCode: time 1.843e-06/0.7568, allocations: 0 / 0.6731 GB, free: 2.773 MB / 490.7 MB Notification: Performance of Templates: time 0.4378/1.195, allocations: 37.05 MB / 0.7093 GB, free: 146 MB / 0.5105 GB make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)