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.001636/0.001636, allocations: 115.3 kB / 17.08 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.002106/0.002106, allocations: 196.5 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.467/2.467, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.6609/0.6609, allocations: 64.93 MB / 356.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 59.91 kB / 495.9 MB, free: 4.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6512/0.6537, allocations: 63.55 MB / 0.5464 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.01354/0.6673, allocations: 7.38 MB / 0.5536 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.6776, allocations: 4.382 MB / 0.5579 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.6795, allocations: 8 kB / 0.5579 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.6824, allocations: 0.5552 MB / 0.5584 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00439/0.6869, allocations: 0.7026 MB / 0.5591 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.6895, allocations: 0.5267 MB / 0.5596 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005794/0.6953, allocations: 2.45 MB / 0.562 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.6971, allocations: 0.7575 MB / 0.5627 GB, free: 480 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.6994, allocations: 0.853 MB / 0.5636 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/0.7022, allocations: 1.047 MB / 0.5646 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005454/0.7028, allocations: 207.9 kB / 0.5648 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.7036, allocations: 211.9 kB / 0.565 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.7048, allocations: 0.8027 MB / 0.5658 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.7069, allocations: 1.085 MB / 0.5668 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004957/0.7119, allocations: 3.072 MB / 0.5698 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.712, allocations: 0 / 0.5698 GB, free: 9.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.712, allocations: 4 kB / 0.5698 GB, free: 9.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.654e-05/0.7121, allocations: 0 / 0.5698 GB, free: 9.172 MB / 430.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.008396/0.7205, allocations: 2.159 MB / 0.572 GB, free: 6.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.7206, allocations: 12.03 kB / 0.572 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.7212, allocations: 190.7 kB / 0.5721 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.7233, allocations: 0.7473 MB / 0.5729 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.7235, allocations: 152.3 kB / 0.573 GB, free: 5.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001183/0.7247, allocations: 272.5 kB / 0.5733 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007518/0.7322, allocations: 2.731 MB / 0.5759 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.62e-05/0.7323, allocations: 7.938 kB / 0.576 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.7327, allocations: 84 kB / 0.576 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002988/0.733, allocations: 155.4 kB / 0.5762 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/0.7397, allocations: 2.176 MB / 0.5783 GB, free: 216 kB / 430.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.02385/0.7636, allocations: 10.8 MB / 0.5889 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/0.7686, allocations: 2.778 MB / 0.5916 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.7706, allocations: 0.6366 MB / 0.5922 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.7709, allocations: 20.94 kB / 0.5922 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/0.771, allocations: 51.48 kB / 0.5923 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 5.601e-06/0.771, allocations: 0 / 0.5923 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.03493/0.8059, allocations: 7.597 MB / 0.5997 GB, free: 9.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007866/0.8139, allocations: 4.105 MB / 0.6037 GB, free: 4.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.8168, allocations: 1.09 MB / 0.6047 GB, free: 3.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003712/0.8172, allocations: 49.7 kB / 0.6048 GB, free: 3.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.8184, allocations: 0.9317 MB / 0.6057 GB, free: 2.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.8195, allocations: 0.4971 MB / 0.6062 GB, free: 2.113 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001944/0.8215, allocations: 436.2 kB / 0.6066 GB, free: 1.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002806/0.8218, allocations: 345.9 kB / 0.6069 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.825, allocations: 0.9103 MB / 0.6078 GB, free: 432 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.8295, allocations: 1.879 MB / 0.6097 GB, free: 14.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007605/0.8371, allocations: 2.955 MB / 0.6125 GB, free: 10.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.45e-05/0.8372, allocations: 11.94 kB / 0.6126 GB, free: 10.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01723/0.8545, allocations: 3.696 MB / 0.6162 GB, free: 6.945 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.8546, allocations: 23.98 kB / 0.6162 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/0.8547, allocations: 32 kB / 0.6162 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008064/0.8628, allocations: 0.986 MB / 0.6172 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005747/0.8686, allocations: 0.5576 MB / 0.6177 GB, free: 5.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02064/0.8893, allocations: 6.675 MB / 0.6242 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/0.8937, allocations: 163.8 kB / 0.6244 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007986/0.8945, allocations: 124 kB / 0.6245 GB, free: 14.18 MB / 494.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.002642/0.8972, allocations: 0.5583 MB / 0.6251 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/0.8981, allocations: 130.4 kB / 0.6252 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/0.9125, allocations: 2.863 MB / 0.628 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01203/0.9245, allocations: 2.488 MB / 0.6304 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.411e-05/0.9246, allocations: 8 kB / 0.6304 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/0.9247, allocations: 7.969 kB / 0.6304 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02532/0.95, allocations: 6.069 MB / 0.6364 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.9501, allocations: 4 kB / 0.6364 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003427/0.9535, allocations: 283.5 kB / 0.6366 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009385/0.963, allocations: 1.197 MB / 0.6378 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/0.9634, allocations: 43.97 kB / 0.6378 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/0.9812, allocations: 6.32 MB / 0.644 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008483/0.9898, allocations: 3.971 MB / 0.6479 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/1.008, allocations: 4.339 MB / 0.6521 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009302/1.008, allocations: 215.5 kB / 0.6523 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000696/1.009, allocations: 32 kB / 0.6524 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002837/1.012, allocations: 83.91 kB / 0.6524 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/1.013, allocations: 112.7 kB / 0.6526 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003285/1.013, allocations: 51.97 kB / 0.6526 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002082/1.015, allocations: 0.7 MB / 0.6533 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/1.015, allocations: 8 kB / 0.6533 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004874/1.02, allocations: 0.5508 MB / 0.6538 GB, free: 15.28 MB / 0.5137 GB 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.0005063/1.021, allocations: 147.6 kB / 0.654 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.032, allocations: 2.677 MB / 0.6566 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.032, allocations: 4.25 kB / 0.6566 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00692/1.039, allocations: 1.411 MB / 0.658 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/1.044, allocations: 405.5 kB / 0.6584 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.058, allocations: 3.938 MB / 0.6622 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002779/1.061, allocations: 1.423 MB / 0.6636 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.063, allocations: 127.4 kB / 0.6637 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of SimCode: time 2.345e-06/1.063, allocations: 0 / 0.6637 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.1107/1.173, allocations: 51.14 MB / 0.7137 GB, free: 1.797 MB / 0.5606 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)