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.001259/0.001259, allocations: 111.4 kB / 17.03 MB, free: 5.77 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.001297/0.001297, allocations: 198.7 kB / 17.98 MB, free: 5.008 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3821/0.3821, allocations: 64.93 MB / 356.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.52 kB / 432 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 63.53 MB / 495.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007939/0.1221, allocations: 7.384 MB / 0.4911 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005639/0.1277, allocations: 4.384 MB / 0.4954 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.1284, allocations: 12 kB / 0.4954 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.1297, allocations: 0.5514 MB / 0.4959 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.1311, allocations: 0.7064 MB / 0.4966 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1322, allocations: 0.5306 MB / 0.4972 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.1344, allocations: 2.45 MB / 0.4995 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007538/0.1352, allocations: 0.7423 MB / 0.5003 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008806/0.1361, allocations: 0.8568 MB / 0.5011 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.1373, allocations: 1.043 MB / 0.5021 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.1375, allocations: 208 kB / 0.5023 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1378, allocations: 204 kB / 0.5025 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.1384, allocations: 0.8065 MB / 0.5033 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1992/0.3376, allocations: 1.089 MB / 0.5044 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.3418, allocations: 3.068 MB / 0.5074 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.3418, allocations: 1.094 kB / 0.5074 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3418, allocations: 0.75 kB / 0.5074 GB, free: 15.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.66e-05/0.3419, allocations: 0 / 0.5074 GB, free: 15.38 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.005092/0.347, allocations: 2.159 MB / 0.5095 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3471, allocations: 11.06 kB / 0.5095 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.3475, allocations: 195.4 kB / 0.5097 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.349, allocations: 0.7465 MB / 0.5104 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3491, allocations: 153.2 kB / 0.5106 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007804/0.3499, allocations: 266 kB / 0.5108 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/0.3541, allocations: 2.734 MB / 0.5135 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.3542, allocations: 6.156 kB / 0.5135 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.3544, allocations: 88.7 kB / 0.5136 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.3546, allocations: 151.6 kB / 0.5137 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.3583, allocations: 2.176 MB / 0.5158 GB, free: 13.12 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.01165/0.37, allocations: 10.79 MB / 0.5264 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.3721, allocations: 2.781 MB / 0.5291 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.3732, allocations: 0.6484 MB / 0.5297 GB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.3733, allocations: 24.33 kB / 0.5297 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3734, allocations: 50.12 kB / 0.5298 GB, free: 2.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.095e-06/0.3734, allocations: 3.281 kB / 0.5298 GB, free: 2.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.0203/0.3937, allocations: 7.604 MB / 0.5372 GB, free: 13.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004795/0.3985, allocations: 4.096 MB / 0.5412 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.4004, allocations: 1.094 MB / 0.5423 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.4007, allocations: 46.67 kB / 0.5423 GB, free: 9.328 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/0.4013, allocations: 0.9382 MB / 0.5432 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005339/0.4019, allocations: 0.4937 MB / 0.5437 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007827/0.4027, allocations: 438.1 kB / 0.5441 GB, free: 7.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4028, allocations: 346.8 kB / 0.5445 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.4045, allocations: 0.9118 MB / 0.5454 GB, free: 7.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.4067, allocations: 1.878 MB / 0.5472 GB, free: 5.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.4107, allocations: 2.952 MB / 0.5501 GB, free: 3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/0.4107, allocations: 8.656 kB / 0.5501 GB, free: 3 MB / 398.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008914/0.4197, allocations: 3.71 MB / 0.5537 GB, free: 124 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.4197, allocations: 16 kB / 0.5537 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.561e-05/0.4198, allocations: 32 kB / 0.5538 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/0.4244, allocations: 0.9847 MB / 0.5547 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/0.4276, allocations: 0.5604 MB / 0.5553 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.4394, allocations: 6.674 MB / 0.5618 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.4422, allocations: 171.3 kB / 0.562 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/0.4428, allocations: 124 kB / 0.5621 GB, free: 7.445 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.001818/0.4446, allocations: 0.5641 MB / 0.5626 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/0.4452, allocations: 130.3 kB / 0.5627 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00806/0.4532, allocations: 2.858 MB / 0.5655 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00715/0.4604, allocations: 2.486 MB / 0.568 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.4605, allocations: 11.98 kB / 0.568 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.4605, allocations: 3.984 kB / 0.568 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.4753, allocations: 6.068 MB / 0.5739 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.4753, allocations: 8 kB / 0.5739 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.4772, allocations: 284 kB / 0.5742 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005447/0.4827, allocations: 1.188 MB / 0.5753 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/0.483, allocations: 43.97 kB / 0.5754 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009672/0.4927, allocations: 6.321 MB / 0.5816 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004769/0.4975, allocations: 3.967 MB / 0.5854 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009889/0.5074, allocations: 4.346 MB / 0.5897 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/0.5081, allocations: 215.5 kB / 0.5899 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/0.5085, allocations: 40 kB / 0.5899 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001668/0.5102, allocations: 79.91 kB / 0.59 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/0.5105, allocations: 116.7 kB / 0.5901 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.5107, allocations: 52.16 kB / 0.5902 GB, free: 10.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001205/0.5119, allocations: 0.7001 MB / 0.5908 GB, free: 9.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5119, allocations: 0 / 0.5908 GB, free: 9.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00281/0.5147, allocations: 0.5624 MB / 0.5914 GB, free: 8.758 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.0002919/0.515, allocations: 143.3 kB / 0.5915 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007077/0.5221, allocations: 2.678 MB / 0.5941 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/0.5222, allocations: 4 kB / 0.5941 GB, free: 5.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004188/0.5264, allocations: 1.388 MB / 0.5955 GB, free: 4.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.5296, allocations: 403.7 kB / 0.5959 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/0.5377, allocations: 3.846 MB / 0.5996 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.5393, allocations: 1.415 MB / 0.601 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001757/0.5411, allocations: 456.7 kB / 0.6015 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.5416, allocations: 115.4 kB / 0.6016 GB, free: 14.16 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5416, allocations: 0 / 0.6016 GB, free: 14.16 MB / 462.1 MB Notification: Performance of Templates: time 0.04715/0.5888, allocations: 29.07 MB / 0.63 GB, free: 1.293 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 -s gbode -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)