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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 104.5 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 194.7 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3588/0.3588, allocations: 64.93 MB / 356 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.97 kB / 430.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 63.54 MB / 494.1 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009455/0.1522, allocations: 7.388 MB / 0.4897 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.1584, allocations: 4.38 MB / 0.494 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1596, allocations: 8 kB / 0.494 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.1611, allocations: 0.563 MB / 0.4945 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.1629, allocations: 0.6987 MB / 0.4952 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.164, allocations: 0.5189 MB / 0.4957 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.1665, allocations: 2.454 MB / 0.4981 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008925/0.1674, allocations: 0.7424 MB / 0.4988 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1685, allocations: 0.8607 MB / 0.4997 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.1698, allocations: 1.043 MB / 0.5007 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.1701, allocations: 208 kB / 0.5009 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.1704, allocations: 204 kB / 0.5011 GB, free: 2.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.171, allocations: 0.8027 MB / 0.5019 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009981/0.172, allocations: 1.097 MB / 0.503 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3184/0.4904, allocations: 3.007 MB / 0.5059 GB, free: 17.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.4905, allocations: 1.125 kB / 0.5059 GB, free: 17.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4905, allocations: 0 / 0.5059 GB, free: 17.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.4906, allocations: 0.5156 kB / 0.5059 GB, free: 17.02 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.005954/0.4966, allocations: 2.164 MB / 0.508 GB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4967, allocations: 7.812 kB / 0.508 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.4971, allocations: 195.8 kB / 0.5082 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.4987, allocations: 0.7456 MB / 0.5089 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.4988, allocations: 149.7 kB / 0.5091 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000853/0.4997, allocations: 272.8 kB / 0.5093 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.5049, allocations: 2.734 MB / 0.512 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-05/0.5049, allocations: 5.938 kB / 0.512 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.5052, allocations: 84.56 kB / 0.5121 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.5054, allocations: 153 kB / 0.5122 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004965/0.5104, allocations: 2.172 MB / 0.5144 GB, free: 14.52 MB / 382.1 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.01475/0.5252, allocations: 10.86 MB / 0.525 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.5278, allocations: 2.782 MB / 0.5277 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.5293, allocations: 0.6519 MB / 0.5283 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.5294, allocations: 15.44 kB / 0.5283 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.5294, allocations: 53.34 kB / 0.5284 GB, free: 3.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.476e-06/0.5294, allocations: 0 / 0.5284 GB, free: 3.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02141/0.5508, allocations: 7.622 MB / 0.5358 GB, free: 15.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005464/0.5564, allocations: 4.098 MB / 0.5398 GB, free: 11.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.5582, allocations: 1.089 MB / 0.5409 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004164/0.5587, allocations: 46.83 kB / 0.5409 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/0.5594, allocations: 0.9331 MB / 0.5418 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007509/0.5601, allocations: 0.5009 MB / 0.5423 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008792/0.561, allocations: 437.8 kB / 0.5427 GB, free: 9.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.5612, allocations: 343.6 kB / 0.5431 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.5631, allocations: 0.918 MB / 0.544 GB, free: 8.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.5654, allocations: 1.883 MB / 0.5458 GB, free: 6.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004213/0.5696, allocations: 2.949 MB / 0.5487 GB, free: 4.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.5696, allocations: 9.812 kB / 0.5487 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009696/0.5793, allocations: 3.707 MB / 0.5523 GB, free: 1.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.5794, allocations: 20 kB / 0.5523 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.151e-05/0.5795, allocations: 32 kB / 0.5524 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004822/0.5843, allocations: 0.9816 MB / 0.5533 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003534/0.5879, allocations: 0.5577 MB / 0.5539 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.5999, allocations: 6.678 MB / 0.5604 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/0.603, allocations: 159.8 kB / 0.5605 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/0.6036, allocations: 120 kB / 0.5607 GB, free: 8.691 MB / 414.1 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.00134/0.605, allocations: 0.5757 MB / 0.5612 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.6054, allocations: 130.3 kB / 0.5613 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008316/0.6137, allocations: 2.86 MB / 0.5641 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007769/0.6216, allocations: 2.489 MB / 0.5666 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.6216, allocations: 8 kB / 0.5666 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.6217, allocations: 11.97 kB / 0.5666 GB, free: 2.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01743/0.6391, allocations: 6.087 MB / 0.5725 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.6392, allocations: 4 kB / 0.5725 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/0.6414, allocations: 279.7 kB / 0.5728 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005893/0.6473, allocations: 1.206 MB / 0.574 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003885/0.6477, allocations: 39.98 kB / 0.574 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.659, allocations: 6.319 MB / 0.5802 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005178/0.6642, allocations: 3.971 MB / 0.5841 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.6752, allocations: 4.343 MB / 0.5883 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/0.6759, allocations: 219.5 kB / 0.5885 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/0.6765, allocations: 39.98 kB / 0.5886 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.6784, allocations: 75.91 kB / 0.5886 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/0.6789, allocations: 116.7 kB / 0.5887 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.6791, allocations: 47.98 kB / 0.5888 GB, free: 11.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.6805, allocations: 0.7001 MB / 0.5895 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6805, allocations: 0 / 0.5895 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00308/0.6836, allocations: 0.5607 MB / 0.59 GB, free: 9.969 MB / 446.1 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.0003291/0.684, allocations: 151.3 kB / 0.5902 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008466/0.6924, allocations: 2.912 MB / 0.593 GB, free: 6.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.6925, allocations: 0 / 0.593 GB, free: 6.891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004337/0.6968, allocations: 1.402 MB / 0.5944 GB, free: 5.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/0.7005, allocations: 399.6 kB / 0.5948 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009409/0.7099, allocations: 3.875 MB / 0.5985 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/0.7122, allocations: 1.411 MB / 0.5999 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002332/0.7146, allocations: 456.7 kB / 0.6004 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.7152, allocations: 115.4 kB / 0.6005 GB, free: 15.09 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7152, allocations: 0 / 0.6005 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Templates: time 0.05443/0.7697, allocations: 29.08 MB / 0.6289 GB, free: 2.227 MB / 478.1 MB 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)