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.001839/0.001839, allocations: 182.7 kB / 13.19 MB, free: 2.129 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.413/1.413, allocations: 221.4 MB / 235.1 MB, free: 14.42 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.0008977/0.0008976, allocations: 96.52 kB / 286 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.5608/0.5608, allocations: 64.45 MB / 401.4 MB, free: 23.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.462e-05/4.464e-05, allocations: 4 kB / 474.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4827, allocations: 64.85 MB / 0.5264 GB, free: 30.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7522/1.235, allocations: 251.2 MB / 0.7716 GB, free: 29.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/1.235, allocations: 56.59 kB / 0.7717 GB, free: 29.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/1.373, allocations: 60.55 MB / 0.8308 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/1.373, allocations: 0 / 0.8308 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.854e-05/1.373, allocations: 32 kB / 0.8308 GB, free: 10.42 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.004499/1.377, allocations: 1.795 MB / 0.8326 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/1.378, allocations: 8.031 kB / 0.8326 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/1.378, allocations: 197.7 kB / 0.8328 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.379, allocations: 0.7503 MB / 0.8335 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.38, allocations: 148 kB / 0.8337 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007687/1.38, allocations: 267.8 kB / 0.8339 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004902/1.385, allocations: 2.638 MB / 0.8365 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/1.385, allocations: 11.88 kB / 0.8365 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/1.386, allocations: 87.98 kB / 0.8366 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/1.386, allocations: 123.5 kB / 0.8367 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/1.39, allocations: 2.079 MB / 0.8387 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/1.405, allocations: 10.32 MB / 0.8488 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/1.408, allocations: 2.761 MB / 0.8515 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009744/1.409, allocations: 0.5848 MB / 0.8521 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/1.409, allocations: 17.14 kB / 0.8521 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/1.409, allocations: 51.5 kB / 0.8522 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=114): time 3.837e-06/1.409, allocations: 0 / 0.8522 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139): time 0.02001/1.429, allocations: 6.787 MB / 0.8588 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01314/1.442, allocations: 5.983 MB / 0.8646 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/1.444, allocations: 0.9647 MB / 0.8656 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004522/1.444, allocations: 53.7 kB / 0.8656 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/1.445, allocations: 0.9279 MB / 0.8665 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007396/1.446, allocations: 0.4931 MB / 0.867 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.446, allocations: 48 kB / 0.8671 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000371/1.446, allocations: 435.6 kB / 0.8675 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/1.448, allocations: 0.8637 MB / 0.8683 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/1.45, allocations: 1.808 MB / 0.8701 GB, free: 68 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/1.452, allocations: 1.191 MB / 0.8712 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/1.452, allocations: 12.09 kB / 0.8713 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008952/1.461, allocations: 3.551 MB / 0.8747 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/1.461, allocations: 16 kB / 0.8747 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.271e-05/1.461, allocations: 32.91 kB / 0.8748 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/1.466, allocations: 0.9271 MB / 0.8757 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/1.469, allocations: 0.5342 MB / 0.8762 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.48, allocations: 5.977 MB / 0.882 GB, free: 3.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/1.484, allocations: 223.5 kB / 0.8822 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008999/1.485, allocations: 120 kB / 0.8824 GB, free: 3.262 MB / 0.5573 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.0008029/1.486, allocations: 260 kB / 0.8826 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/1.486, allocations: 130.5 kB / 0.8827 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009285/1.496, allocations: 2.805 MB / 0.8855 GB, free: 44 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.421/1.917, allocations: 2.421 MB / 0.8878 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.663e-05/1.917, allocations: 3.578 kB / 0.8878 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.424e-05/1.917, allocations: 11.88 kB / 0.8878 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.933, allocations: 5.976 MB / 0.8937 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.933, allocations: 5.969 kB / 0.8937 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.934, allocations: 250.3 kB / 0.8939 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0056/1.94, allocations: 1.21 MB / 0.8951 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.94, allocations: 37.69 kB / 0.8951 GB, free: 137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008779/1.949, allocations: 5.804 MB / 0.9008 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01009/1.959, allocations: 5.283 MB / 0.906 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.97, allocations: 4.492 MB / 0.9104 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007763/1.971, allocations: 214.8 kB / 0.9106 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/1.971, allocations: 31.88 kB / 0.9106 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.973, allocations: 138.8 kB / 0.9107 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/1.973, allocations: 113 kB / 0.9108 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.973, allocations: 50.92 kB / 0.9109 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001242/1.974, allocations: 0.681 MB / 0.9115 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.974, allocations: 3.75 kB / 0.9116 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003416/1.978, allocations: 0.5829 MB / 0.9121 GB, free: 130.1 MB / 0.5573 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 () * 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.0005138/1.978, allocations: 229.9 kB / 0.9123 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006427/1.985, allocations: 2.498 MB / 0.9148 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/1.985, allocations: 3.438 kB / 0.9148 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/1.989, allocations: 1.324 MB / 0.9161 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/1.991, allocations: 357 kB / 0.9164 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/1.998, allocations: 3.085 MB / 0.9194 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/2, allocations: 1.456 MB / 0.9209 GB, free: 128 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002156/2.002, allocations: 453.7 kB / 0.9213 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/2.002, allocations: 110.7 kB / 0.9214 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.963e-06/2.002, allocations: 3.969 kB / 0.9214 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04557/2.048, allocations: 28.39 MB / 0.9491 GB, free: 126.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)