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.001254/0.001254, allocations: 104.7 kB / 16.4 MB, free: 6.461 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.001339/0.001339, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.472/1.472, allocations: 222.9 MB / 241 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.3847/0.3847, allocations: 64.94 MB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.88 kB / 495.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5049, allocations: 63.55 MB / 0.5457 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009989/0.515, allocations: 7.376 MB / 0.5529 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008188/0.5233, allocations: 4.39 MB / 0.5572 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.5251, allocations: 8 kB / 0.5572 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.5273, allocations: 0.5552 MB / 0.5578 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.5296, allocations: 0.6948 MB / 0.5584 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.531, allocations: 0.5306 MB / 0.5589 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.5345, allocations: 2.458 MB / 0.5613 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.5358, allocations: 0.7459 MB / 0.5621 GB, free: 492 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.5372, allocations: 0.8568 MB / 0.5629 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.5389, allocations: 1.047 MB / 0.5639 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.5393, allocations: 208 kB / 0.5641 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.5397, allocations: 207.9 kB / 0.5643 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.5404, allocations: 0.8026 MB / 0.5651 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.5418, allocations: 1.089 MB / 0.5662 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.5452, allocations: 3.072 MB / 0.5692 GB, free: 9.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.5453, allocations: 0 / 0.5692 GB, free: 9.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5453, allocations: 0 / 0.5692 GB, free: 9.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.247e-05/0.5453, allocations: 4 kB / 0.5692 GB, free: 9.18 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.004776/0.5501, allocations: 2.155 MB / 0.5713 GB, free: 6.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.5502, allocations: 8.031 kB / 0.5713 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.5505, allocations: 194.6 kB / 0.5715 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.5519, allocations: 0.7551 MB / 0.5722 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.5521, allocations: 144.4 kB / 0.5724 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007202/0.5528, allocations: 272.6 kB / 0.5726 GB, free: 5.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/0.5573, allocations: 2.731 MB / 0.5753 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.5574, allocations: 11.88 kB / 0.5753 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.5576, allocations: 87.98 kB / 0.5754 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.5578, allocations: 151.4 kB / 0.5755 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.5619, allocations: 2.172 MB / 0.5776 GB, free: 228 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.01612/0.578, allocations: 10.8 MB / 0.5882 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.5811, allocations: 2.778 MB / 0.5909 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.5823, allocations: 0.6405 MB / 0.5915 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.5825, allocations: 21 kB / 0.5915 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.5825, allocations: 55.5 kB / 0.5916 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 4.158e-06/0.5825, allocations: 0 / 0.5916 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02104/0.6036, allocations: 7.599 MB / 0.599 GB, free: 9.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005735/0.6094, allocations: 4.105 MB / 0.603 GB, free: 4.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.6112, allocations: 1.086 MB / 0.6041 GB, free: 3.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000376/0.6116, allocations: 53.7 kB / 0.6041 GB, free: 3.562 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/0.6123, allocations: 0.9278 MB / 0.605 GB, free: 2.617 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007478/0.6131, allocations: 0.4931 MB / 0.6055 GB, free: 2.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000696/0.6138, allocations: 440.2 kB / 0.606 GB, free: 1.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6139, allocations: 341.9 kB / 0.6063 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.6155, allocations: 0.9142 MB / 0.6072 GB, free: 432 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.6179, allocations: 1.882 MB / 0.609 GB, free: 14.08 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0045/0.6224, allocations: 2.947 MB / 0.6119 GB, free: 10.68 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.6224, allocations: 8 kB / 0.6119 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009856/0.6323, allocations: 3.711 MB / 0.6155 GB, free: 6.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.6324, allocations: 16 kB / 0.6155 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.865e-05/0.6325, allocations: 32 kB / 0.6156 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004659/0.6371, allocations: 0.9769 MB / 0.6165 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.6401, allocations: 0.5654 MB / 0.6171 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.6523, allocations: 6.677 MB / 0.6236 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.6551, allocations: 159.8 kB / 0.6237 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.6553, allocations: 128 kB / 0.6239 GB, free: 14.19 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.001259/0.6566, allocations: 0.5566 MB / 0.6244 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.657, allocations: 134.4 kB / 0.6245 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008338/0.6653, allocations: 2.859 MB / 0.6273 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007062/0.6724, allocations: 2.484 MB / 0.6298 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.6725, allocations: 8 kB / 0.6298 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.6725, allocations: 11.91 kB / 0.6298 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.6877, allocations: 6.076 MB / 0.6357 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.6877, allocations: 8 kB / 0.6357 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/0.6897, allocations: 284.2 kB / 0.636 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005599/0.6953, allocations: 1.185 MB / 0.6371 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.6955, allocations: 43.97 kB / 0.6372 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.7069, allocations: 6.321 MB / 0.6434 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005655/0.7126, allocations: 3.971 MB / 0.6472 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.7244, allocations: 4.347 MB / 0.6515 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.7252, allocations: 215.5 kB / 0.6517 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005613/0.7257, allocations: 36 kB / 0.6517 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/0.7277, allocations: 79.91 kB / 0.6518 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005152/0.7283, allocations: 116.7 kB / 0.6519 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.7285, allocations: 51.97 kB / 0.652 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001936/0.7304, allocations: 0.7001 MB / 0.6526 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7305, allocations: 0 / 0.6526 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003647/0.7341, allocations: 0.5547 MB / 0.6532 GB, free: 15.27 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.0004088/0.7345, allocations: 143.3 kB / 0.6533 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007785/0.7423, allocations: 2.677 MB / 0.6559 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/0.7424, allocations: 4 kB / 0.6559 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/0.7468, allocations: 1.404 MB / 0.6573 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.7499, allocations: 403.5 kB / 0.6577 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.7608, allocations: 3.831 MB / 0.6614 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.7632, allocations: 1.419 MB / 0.6628 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002493/0.7657, allocations: 456.7 kB / 0.6633 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.7665, allocations: 111.4 kB / 0.6634 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of SimCode: time 2.034e-06/0.7665, allocations: 0 / 0.6634 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.06369/0.8302, allocations: 30.27 MB / 0.6929 GB, free: 6.535 MB / 0.545 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)