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.0009141/0.0009142, allocations: 173.9 kB / 8.002 MB, free: 1.059 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 230 MB, free: 3.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009337, allocations: 86.16 kB / 280.8 MB, free: 1.172 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.6688/0.6688, allocations: 64.47 MB / 396.1 MB, free: 27.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.736e-05, allocations: 4 kB / 467.2 MB, free: 5.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4782, allocations: 64.84 MB / 0.5195 GB, free: 30.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/1.255, allocations: 250.5 MB / 0.7642 GB, free: 37.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/1.255, allocations: 64.78 kB / 0.7642 GB, free: 37.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1415/1.397, allocations: 59.93 MB / 0.8228 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.325e-06/1.397, allocations: 0 / 0.8228 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.967e-05/1.397, allocations: 35.94 kB / 0.8228 GB, free: 3.773 MB / 0.4948 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.006991/1.404, allocations: 1.791 MB / 0.8245 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.974e-05/1.404, allocations: 12.03 kB / 0.8245 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.405, allocations: 193.7 kB / 0.8247 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/1.409, allocations: 0.758 MB / 0.8255 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.409, allocations: 64 kB / 0.8255 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/1.41, allocations: 179.9 kB / 0.8257 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005116/1.415, allocations: 1.922 MB / 0.8276 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/1.42, allocations: 2.333 MB / 0.8299 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/1.42, allocations: 7.938 kB / 0.8299 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/1.42, allocations: 8 kB / 0.8299 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/1.421, allocations: 131.5 kB / 0.83 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/1.438, allocations: 9.957 MB / 0.8397 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.442, allocations: 2.716 MB / 0.8424 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/1.444, allocations: 0.5434 MB / 0.8429 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/1.444, allocations: 25.39 kB / 0.8429 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.355e-05/1.445, allocations: 55.8 kB / 0.843 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=114): time 6.672e-06/1.445, allocations: 0 / 0.843 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.02609/1.471, allocations: 6.406 MB / 0.8492 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.471, allocations: 193.2 kB / 0.8494 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.473, allocations: 0.7456 MB / 0.8502 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004535/1.473, allocations: 25.7 kB / 0.8502 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.474, allocations: 0.9547 MB / 0.8511 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009819/1.475, allocations: 477.1 kB / 0.8516 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/1.476, allocations: 4 kB / 0.8516 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003586/1.476, allocations: 423.5 kB / 0.852 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/1.478, allocations: 0.8091 MB / 0.8528 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002746/1.481, allocations: 1.757 MB / 0.8545 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/1.483, allocations: 1.138 MB / 0.8556 GB, free: 376 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-05/1.483, allocations: 8 kB / 0.8556 GB, free: 368 kB / 0.5261 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009915/1.493, allocations: 3.256 MB / 0.8588 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-05/1.493, allocations: 20 kB / 0.8588 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.474e-05/1.493, allocations: 32 kB / 0.8588 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004558/1.498, allocations: 0.9114 MB / 0.8597 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/1.502, allocations: 0.5459 MB / 0.8602 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/1.514, allocations: 5.821 MB / 0.8659 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/1.518, allocations: 179.5 kB / 0.8661 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.519, allocations: 124 kB / 0.8662 GB, free: 5.27 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 () * 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.001515/1.521, allocations: 192 kB / 0.8664 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008256/1.521, allocations: 114.7 kB / 0.8665 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.532, allocations: 2.658 MB / 0.8691 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008102/1.54, allocations: 2.332 MB / 0.8714 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.518e-05/1.54, allocations: 4 kB / 0.8714 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-05/1.54, allocations: 7.969 kB / 0.8714 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01715/1.557, allocations: 5.732 MB / 0.877 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/1.557, allocations: 8.094 kB / 0.877 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.559, allocations: 259.5 kB / 0.8773 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005798/1.565, allocations: 1.191 MB / 0.8784 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004292/1.566, allocations: 19.98 kB / 0.8784 GB, free: 8.535 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.576, allocations: 5.732 MB / 0.884 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5885/2.165, allocations: 5.091 MB / 0.889 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/2.176, allocations: 4.336 MB / 0.8932 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/2.177, allocations: 196.5 kB / 0.8934 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/2.177, allocations: 12.7 kB / 0.8934 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/2.179, allocations: 109.9 kB / 0.8935 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/2.179, allocations: 120.4 kB / 0.8937 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/2.179, allocations: 50.17 kB / 0.8937 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00106/2.181, allocations: 0.5044 MB / 0.8942 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.61e-07/2.181, allocations: 0 / 0.8942 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004588/2.185, allocations: 0.5453 MB / 0.8947 GB, free: 134.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],tank.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * 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,6 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006836/2.186, allocations: 208.6 kB / 0.8949 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006918/2.193, allocations: 2.355 MB / 0.8972 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/2.193, allocations: 0 / 0.8972 GB, free: 134.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004066/2.197, allocations: 1.266 MB / 0.8985 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/2.199, allocations: 211.9 kB / 0.8987 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/2.206, allocations: 2.982 MB / 0.9016 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/2.207, allocations: 1.448 MB / 0.903 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001717/2.209, allocations: 422.4 kB / 0.9034 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/2.209, allocations: 106.7 kB / 0.9035 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of SimCode: time 8.61e-07/2.209, allocations: 0 / 0.9035 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.04534/2.255, allocations: 23.77 MB / 0.9267 GB, free: 131.7 MB / 0.5573 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)