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.001138/0.001138, allocations: 105.3 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.001134/0.001134, 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.417/1.417, 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.3936/0.3936, allocations: 64.92 MB / 356.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 71.88 kB / 495.3 MB, free: 8.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4261, allocations: 63.52 MB / 0.5457 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007187/0.4333, allocations: 7.382 MB / 0.5529 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.4392, allocations: 4.382 MB / 0.5572 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009758/0.4402, allocations: 11.91 kB / 0.5572 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.4417, allocations: 0.5545 MB / 0.5577 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.4433, allocations: 0.7007 MB / 0.5584 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4446, allocations: 0.528 MB / 0.5589 GB, free: 23.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.4475, allocations: 2.454 MB / 0.5613 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.4486, allocations: 0.7452 MB / 0.5621 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.4499, allocations: 0.8606 MB / 0.5629 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.4514, allocations: 1.045 MB / 0.5639 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003282/0.4517, allocations: 206.8 kB / 0.5641 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.4522, allocations: 207.4 kB / 0.5643 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.453, allocations: 0.8007 MB / 0.5651 GB, free: 20.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4542, allocations: 1.092 MB / 0.5662 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003665/0.4579, allocations: 3.073 MB / 0.5692 GB, free: 18.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4579, allocations: 3.938 kB / 0.5692 GB, free: 18.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4579, allocations: 0 / 0.5692 GB, free: 18.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.965e-05/0.458, allocations: 1.188 kB / 0.5692 GB, free: 18.62 MB / 446.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.005872/0.4638, allocations: 2.16 MB / 0.5713 GB, free: 17.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.4639, allocations: 9.875 kB / 0.5713 GB, free: 17.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.4644, allocations: 191.3 kB / 0.5715 GB, free: 17.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4657, allocations: 0.747 MB / 0.5722 GB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.4658, allocations: 152.5 kB / 0.5724 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007643/0.4666, allocations: 266.9 kB / 0.5726 GB, free: 16.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/0.471, allocations: 2.735 MB / 0.5753 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.4711, allocations: 7.469 kB / 0.5753 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.4713, allocations: 88.67 kB / 0.5754 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/0.4715, allocations: 151.2 kB / 0.5755 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003606/0.4751, allocations: 2.169 MB / 0.5776 GB, free: 13.68 MB / 446.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.0111/0.4862, allocations: 10.8 MB / 0.5882 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.4884, allocations: 2.78 MB / 0.5909 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.4894, allocations: 0.6346 MB / 0.5915 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.4895, allocations: 25.98 kB / 0.5915 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4896, allocations: 53.72 kB / 0.5916 GB, free: 1.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 2.965e-06/0.4896, allocations: 4 kB / 0.5916 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02108/0.5107, allocations: 7.588 MB / 0.599 GB, free: 12.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004879/0.5156, allocations: 4.113 MB / 0.603 GB, free: 7.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.5173, allocations: 1.09 MB / 0.6041 GB, free: 6.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/0.5175, allocations: 49.77 kB / 0.6041 GB, free: 6.586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000647/0.5182, allocations: 0.9317 MB / 0.605 GB, free: 5.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/0.5187, allocations: 0.4931 MB / 0.6055 GB, free: 5.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007466/0.5195, allocations: 440.1 kB / 0.6059 GB, free: 4.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.5197, allocations: 345.9 kB / 0.6063 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.5213, allocations: 0.9103 MB / 0.6072 GB, free: 3.441 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.5236, allocations: 1.879 MB / 0.609 GB, free: 1.102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.5276, allocations: 2.951 MB / 0.6119 GB, free: 13.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.5277, allocations: 8 kB / 0.6119 GB, free: 13.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008979/0.5366, allocations: 3.7 MB / 0.6155 GB, free: 9.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5367, allocations: 20 kB / 0.6155 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.104e-05/0.5368, allocations: 32 kB / 0.6156 GB, free: 9.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/0.5414, allocations: 0.9857 MB / 0.6165 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.5447, allocations: 0.5615 MB / 0.6171 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.5564, allocations: 6.668 MB / 0.6236 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.5593, allocations: 156.2 kB / 0.6237 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.5595, allocations: 124 kB / 0.6238 GB, free: 1.227 MB / 478.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.001591/0.5611, allocations: 0.5805 MB / 0.6244 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/0.5616, allocations: 130.4 kB / 0.6245 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008106/0.5697, allocations: 2.859 MB / 0.6273 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007138/0.5769, allocations: 2.488 MB / 0.6298 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.5769, allocations: 8 kB / 0.6298 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.577, allocations: 7.969 kB / 0.6298 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.5911, allocations: 6.072 MB / 0.6357 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.5911, allocations: 4 kB / 0.6357 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002074/0.5932, allocations: 288.1 kB / 0.636 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005703/0.599, allocations: 1.192 MB / 0.6371 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/0.5993, allocations: 39.98 kB / 0.6372 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.6098, allocations: 6.318 MB / 0.6434 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004876/0.6148, allocations: 3.967 MB / 0.6472 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.6251, allocations: 4.343 MB / 0.6515 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006346/0.6258, allocations: 215.5 kB / 0.6517 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/0.6262, allocations: 43.98 kB / 0.6517 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.6278, allocations: 75.91 kB / 0.6518 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/0.6282, allocations: 116.7 kB / 0.6519 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.6284, allocations: 47.98 kB / 0.6519 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001239/0.6296, allocations: 0.7039 MB / 0.6526 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6296, allocations: 0 / 0.6526 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002688/0.6323, allocations: 0.5547 MB / 0.6532 GB, free: 2.297 MB / 0.4981 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.0002872/0.6326, allocations: 143.3 kB / 0.6533 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006883/0.6395, allocations: 2.681 MB / 0.6559 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.6395, allocations: 0 / 0.6559 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003989/0.6435, allocations: 1.411 MB / 0.6573 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.6465, allocations: 402.6 kB / 0.6577 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008554/0.6551, allocations: 3.835 MB / 0.6614 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/0.6568, allocations: 1.411 MB / 0.6628 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001863/0.6587, allocations: 456.7 kB / 0.6633 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/0.6593, allocations: 115.4 kB / 0.6634 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of SimCode: time 4.658e-06/0.6593, allocations: 0 / 0.6634 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of Templates: time 0.05215/0.7114, allocations: 29.72 MB / 0.6924 GB, free: 10.11 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)