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.001061/0.001061, allocations: 177.7 kB / 15.75 MB, free: 6.363 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.486/1.486, allocations: 223.2 MB / 239.7 MB, free: 1.793 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.0009496/0.0009497, allocations: 91.2 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5713/0.5713, allocations: 64.88 MB / 406.8 MB, free: 49.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003101, allocations: 8 kB / 482.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 64.86 MB / 0.5342 GB, free: 2.609 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.167, allocations: 251.2 MB / 0.7796 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/1.167, allocations: 58.31 kB / 0.7796 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1411/1.308, allocations: 60.53 MB / 0.8388 GB, free: 108 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.776e-06/1.308, allocations: 3.969 kB / 0.8388 GB, free: 108 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.877e-05/1.308, allocations: 35.62 kB / 0.8388 GB, free: 108 MB / 0.5417 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.00462/1.313, allocations: 1.848 MB / 0.8406 GB, free: 107 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/1.313, allocations: 15.3 kB / 0.8406 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/1.313, allocations: 188 kB / 0.8408 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/1.315, allocations: 0.7536 MB / 0.8415 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/1.315, allocations: 154.5 kB / 0.8417 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007652/1.315, allocations: 266.8 kB / 0.8419 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004185/1.32, allocations: 2.684 MB / 0.8445 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/1.32, allocations: 11.91 kB / 0.8446 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/1.32, allocations: 91.39 kB / 0.8446 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/1.32, allocations: 121.1 kB / 0.8448 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/1.324, allocations: 2.165 MB / 0.8469 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/1.335, allocations: 10.33 MB / 0.857 GB, free: 96.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/1.337, allocations: 2.785 MB / 0.8597 GB, free: 93.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.831e-05/1.338, allocations: 16.97 kB / 0.8597 GB, free: 93.74 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/1.338, allocations: 63.34 kB / 0.8598 GB, free: 93.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 4.038e-06/1.338, allocations: 0 / 0.8598 GB, free: 93.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.02127/1.359, allocations: 7.924 MB / 0.8675 GB, free: 89.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005298/1.364, allocations: 4.084 MB / 0.8715 GB, free: 85.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.366, allocations: 0.9668 MB / 0.8724 GB, free: 84.68 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004801/1.367, allocations: 49.45 kB / 0.8725 GB, free: 84.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/1.367, allocations: 0.9321 MB / 0.8734 GB, free: 83.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004376/1.367, allocations: 0.4936 MB / 0.8739 GB, free: 83.36 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.368, allocations: 43.66 kB / 0.8739 GB, free: 83.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.368, allocations: 446.2 kB / 0.8743 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/1.369, allocations: 0.9061 MB / 0.8752 GB, free: 82.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/1.371, allocations: 1.846 MB / 0.877 GB, free: 80.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/1.373, allocations: 1.233 MB / 0.8782 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/1.373, allocations: 8 kB / 0.8782 GB, free: 79.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008273/1.381, allocations: 3.649 MB / 0.8818 GB, free: 76.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/1.381, allocations: 16 kB / 0.8818 GB, free: 76.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.452e-05/1.381, allocations: 39.98 kB / 0.8819 GB, free: 76.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004565/1.386, allocations: 0.9664 MB / 0.8828 GB, free: 75.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.389, allocations: 0.542 MB / 0.8833 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/1.399, allocations: 6.27 MB / 0.8894 GB, free: 68.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00344/1.402, allocations: 219.6 kB / 0.8897 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/1.403, allocations: 120 kB / 0.8898 GB, free: 67.84 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.001287/1.404, allocations: 0.564 MB / 0.8903 GB, free: 67.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/1.404, allocations: 126.4 kB / 0.8904 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007438/1.412, allocations: 2.824 MB / 0.8932 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006527/1.418, allocations: 2.437 MB / 0.8956 GB, free: 61.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.418, allocations: 4 kB / 0.8956 GB, free: 61.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.449e-05/1.418, allocations: 15.97 kB / 0.8956 GB, free: 61.81 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/1.432, allocations: 5.953 MB / 0.9014 GB, free: 55.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.432, allocations: 8 kB / 0.9014 GB, free: 55.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.434, allocations: 267.6 kB / 0.9017 GB, free: 55.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005369/1.439, allocations: 1.164 MB / 0.9028 GB, free: 54.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/1.44, allocations: 43.94 kB / 0.9029 GB, free: 54.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008636/1.448, allocations: 5.987 MB / 0.9087 GB, free: 48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006178/1.454, allocations: 3.951 MB / 0.9126 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.465, allocations: 4.544 MB / 0.917 GB, free: 38.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.466, allocations: 223.4 kB / 0.9172 GB, free: 38.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.466, allocations: 32 kB / 0.9172 GB, free: 38.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/1.468, allocations: 135.8 kB / 0.9174 GB, free: 38.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003865/1.468, allocations: 108.7 kB / 0.9175 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.468, allocations: 55.97 kB / 0.9175 GB, free: 38.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001089/1.469, allocations: 0.6923 MB / 0.9182 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.469, allocations: 0 / 0.9182 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003339/1.473, allocations: 0.5858 MB / 0.9188 GB, free: 37.12 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.0005463/1.473, allocations: 223.3 kB / 0.919 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006019/1.479, allocations: 2.583 MB / 0.9215 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.479, allocations: 4 kB / 0.9215 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/1.483, allocations: 1.369 MB / 0.9229 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.485, allocations: 358.6 kB / 0.9232 GB, free: 32.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007284/1.492, allocations: 4.451 MB / 0.9275 GB, free: 27.99 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.493, allocations: 1.456 MB / 0.929 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002051/1.495, allocations: 456.7 kB / 0.9294 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/1.496, allocations: 115.4 kB / 0.9295 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/1.496, allocations: 0 / 0.9295 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of Templates: time 0.04222/1.538, allocations: 27.73 MB / 0.9566 GB, free: 14.34 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)