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 3.2.3+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/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 173 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008687, allocations: 85.38 kB / 271.3 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4915/0.4915, allocations: 64.94 MB / 384.5 MB, free: 36.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 457.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3607, allocations: 62.05 MB / 0.5071 GB, free: 34.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6028/0.9635, allocations: 286.9 MB / 0.7873 GB, free: 19.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.9638, allocations: 64.8 kB / 0.7873 GB, free: 19.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.136/1.1, allocations: 59.35 MB / 0.8453 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.693e-06/1.1, allocations: 4 kB / 0.8453 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.877e-05/1.1, allocations: 36 kB / 0.8453 GB, free: 1.828 MB / 0.5105 GB 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.006382/1.106, allocations: 1.815 MB / 0.8471 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.106, allocations: 12.03 kB / 0.8471 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.108, allocations: 198.6 kB / 0.8473 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/1.11, allocations: 0.7745 MB / 0.848 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/1.11, allocations: 152.4 kB / 0.8482 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/1.111, allocations: 260.6 kB / 0.8484 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006891/1.118, allocations: 2.704 MB / 0.8511 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.619e-05/1.118, allocations: 11.88 kB / 0.8511 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/1.119, allocations: 87.98 kB / 0.8512 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001813/1.119, allocations: 127.5 kB / 0.8513 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004961/1.124, allocations: 2.16 MB / 0.8534 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/1.14, allocations: 10.33 MB / 0.8635 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/1.143, allocations: 2.788 MB / 0.8662 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009918/1.144, allocations: 0.6014 MB / 0.8668 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.641e-05/1.144, allocations: 25.14 kB / 0.8668 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/1.144, allocations: 55.48 kB / 0.8669 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 5.941e-06/1.144, allocations: 0 / 0.8669 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.02141/1.165, allocations: 7.929 MB / 0.8746 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3281/1.493, allocations: 3.873 MB / 0.8784 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/1.496, allocations: 1.08 MB / 0.8795 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004759/1.496, allocations: 45.39 kB / 0.8795 GB, free: 128.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/1.497, allocations: 0.9399 MB / 0.8804 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006368/1.498, allocations: 496.8 kB / 0.8809 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/1.498, allocations: 49.3 kB / 0.8809 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002179/1.498, allocations: 441.8 kB / 0.8814 GB, free: 127.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.5, allocations: 0.903 MB / 0.8822 GB, free: 127.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.501, allocations: 1.861 MB / 0.8841 GB, free: 126 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003294/1.505, allocations: 2.916 MB / 0.8869 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/1.505, allocations: 8.688 kB / 0.8869 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008265/1.513, allocations: 3.652 MB / 0.8905 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/1.513, allocations: 20 kB / 0.8905 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.719e-05/1.513, allocations: 33.86 kB / 0.8905 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/1.517, allocations: 0.9633 MB / 0.8915 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.52, allocations: 0.5492 MB / 0.892 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009291/1.529, allocations: 6.126 MB / 0.898 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/1.532, allocations: 215.8 kB / 0.8982 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.532, allocations: 127 kB / 0.8983 GB, free: 122.2 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001171/1.534, allocations: 0.563 MB / 0.8989 GB, free: 122 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.534, allocations: 128.4 kB / 0.899 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/1.541, allocations: 2.818 MB / 0.9017 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006911/1.548, allocations: 2.443 MB / 0.9041 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/1.548, allocations: 5.594 kB / 0.9041 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/1.548, allocations: 8.812 kB / 0.9041 GB, free: 121.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/1.562, allocations: 5.961 MB / 0.91 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.562, allocations: 6 kB / 0.91 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.564, allocations: 264.4 kB / 0.9102 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005112/1.569, allocations: 1.17 MB / 0.9114 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.569, allocations: 39.05 kB / 0.9114 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008519/1.578, allocations: 5.852 MB / 0.9171 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004466/1.582, allocations: 3.739 MB / 0.9208 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008581/1.591, allocations: 4.254 MB / 0.9249 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/1.592, allocations: 223.6 kB / 0.9251 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.592, allocations: 31.91 kB / 0.9252 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.593, allocations: 144.1 kB / 0.9253 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/1.594, allocations: 113.2 kB / 0.9254 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/1.594, allocations: 51.33 kB / 0.9255 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009446/1.595, allocations: 0.6884 MB / 0.9261 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/1.595, allocations: 0 / 0.9261 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003173/1.598, allocations: 0.5856 MB / 0.9267 GB, free: 110.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (125): * Single equations (assignments): 121 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,5 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004963/1.598, allocations: 212.3 kB / 0.9269 GB, free: 110 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005791/1.604, allocations: 2.588 MB / 0.9294 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.604, allocations: 0 / 0.9294 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/1.608, allocations: 1.362 MB / 0.9308 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.611, allocations: 380 kB / 0.9311 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007292/1.618, allocations: 4.483 MB / 0.9355 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.619, allocations: 1.414 MB / 0.9369 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002059/1.622, allocations: 453.8 kB / 0.9373 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/1.622, allocations: 113.2 kB / 0.9374 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/1.622, allocations: 0 / 0.9374 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.04561/1.668, allocations: 27.92 MB / 0.9647 GB, free: 103.4 MB / 0.5417 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)