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: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001136, allocations: 112.9 kB / 16.41 MB, free: 6.496 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.001335/0.001335, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3723/0.3723, allocations: 64.94 MB / 356.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 64.12 kB / 494.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3885, allocations: 63.54 MB / 0.5452 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007815/0.3964, allocations: 7.38 MB / 0.5524 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.4023, allocations: 4.389 MB / 0.5567 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008399/0.4032, allocations: 11.94 kB / 0.5567 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.4046, allocations: 0.5475 MB / 0.5573 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.4065, allocations: 0.7221 MB / 0.558 GB, free: 4.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.4076, allocations: 0.5228 MB / 0.5585 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.4106, allocations: 2.466 MB / 0.5609 GB, free: 1.301 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.4118, allocations: 0.7343 MB / 0.5616 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.4134, allocations: 0.8569 MB / 0.5624 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.4152, allocations: 1.055 MB / 0.5635 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005465/0.4158, allocations: 208 kB / 0.5637 GB, free: 14.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.4165, allocations: 204 kB / 0.5639 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009134/0.4174, allocations: 0.7988 MB / 0.5646 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.4194, allocations: 1.089 MB / 0.5657 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.4228, allocations: 3.083 MB / 0.5687 GB, free: 9.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.4228, allocations: 0 / 0.5687 GB, free: 9.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.4228, allocations: 7.922 kB / 0.5687 GB, free: 9.234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.977e-05/0.4229, allocations: 0 / 0.5687 GB, free: 9.234 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.005329/0.4282, allocations: 2.195 MB / 0.5709 GB, free: 6.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4283, allocations: 12.03 kB / 0.5709 GB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005916/0.4289, allocations: 296 kB / 0.5712 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.4294, allocations: 207.7 kB / 0.5714 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.4308, allocations: 0.7475 MB / 0.5721 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.4309, allocations: 148.3 kB / 0.5722 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007757/0.4317, allocations: 276.4 kB / 0.5725 GB, free: 5.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/0.4364, allocations: 2.731 MB / 0.5752 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.4364, allocations: 7.938 kB / 0.5752 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.4367, allocations: 83.98 kB / 0.5753 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.4368, allocations: 147.5 kB / 0.5754 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/0.4409, allocations: 2.18 MB / 0.5775 GB, free: 15.92 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.01475/0.4557, allocations: 10.82 MB / 0.5881 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.4585, allocations: 2.778 MB / 0.5908 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.4596, allocations: 0.6482 MB / 0.5914 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-05/0.4598, allocations: 17 kB / 0.5915 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4598, allocations: 55.5 kB / 0.5915 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.697e-06/0.4598, allocations: 0 / 0.5915 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02097/0.4808, allocations: 7.699 MB / 0.599 GB, free: 8.777 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004669/0.4855, allocations: 4.113 MB / 0.603 GB, free: 4.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.4872, allocations: 1.095 MB / 0.6041 GB, free: 3.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.4875, allocations: 45.7 kB / 0.6042 GB, free: 3.145 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006559/0.4882, allocations: 0.963 MB / 0.6051 GB, free: 2.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007356/0.4889, allocations: 0.523 MB / 0.6056 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009316/0.4899, allocations: 444.4 kB / 0.606 GB, free: 1.199 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.49, allocations: 345.9 kB / 0.6064 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.4917, allocations: 0.9142 MB / 0.6073 GB, free: 15.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.494, allocations: 1.882 MB / 0.6091 GB, free: 13.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.498, allocations: 2.939 MB / 0.612 GB, free: 10.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/0.498, allocations: 15.94 kB / 0.612 GB, free: 10.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008754/0.5068, allocations: 3.704 MB / 0.6156 GB, free: 6.461 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.5069, allocations: 22.81 kB / 0.6156 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/0.5069, allocations: 32 kB / 0.6156 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004504/0.5115, allocations: 0.9826 MB / 0.6166 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.5144, allocations: 0.5615 MB / 0.6172 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.5256, allocations: 6.675 MB / 0.6237 GB, free: 13.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/0.5277, allocations: 155.8 kB / 0.6238 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/0.5281, allocations: 128 kB / 0.6239 GB, free: 13.71 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.001151/0.5293, allocations: 0.5644 MB / 0.6245 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.5297, allocations: 143.1 kB / 0.6246 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/0.5375, allocations: 2.859 MB / 0.6274 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006994/0.5446, allocations: 2.488 MB / 0.6299 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.5446, allocations: 4.188 kB / 0.6299 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.948e-05/0.5446, allocations: 15.97 kB / 0.6299 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.5588, allocations: 6.068 MB / 0.6358 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.5588, allocations: 8 kB / 0.6358 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.5607, allocations: 280.2 kB / 0.6361 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00533/0.5661, allocations: 1.197 MB / 0.6372 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.5663, allocations: 43.92 kB / 0.6373 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009815/0.5761, allocations: 6.321 MB / 0.6435 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004761/0.5809, allocations: 3.975 MB / 0.6473 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009679/0.5906, allocations: 4.352 MB / 0.6516 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.5911, allocations: 224.2 kB / 0.6518 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.5915, allocations: 32 kB / 0.6518 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.593, allocations: 75.91 kB / 0.6519 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/0.5933, allocations: 116.7 kB / 0.652 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5935, allocations: 55.92 kB / 0.6521 GB, free: 28 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001088/0.5946, allocations: 0.6964 MB / 0.6527 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5946, allocations: 0 / 0.6527 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002319/0.5969, allocations: 0.5547 MB / 0.6533 GB, free: 14.76 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.009546/0.6065, allocations: 4.949 MB / 0.6581 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006644/0.6131, allocations: 2.67 MB / 0.6607 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.6132, allocations: 8.25 kB / 0.6607 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003937/0.6171, allocations: 1.391 MB / 0.6621 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/0.6198, allocations: 414.4 kB / 0.6625 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/0.6528, allocations: 17.79 MB / 0.6799 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.6542, allocations: 1.411 MB / 0.6812 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001566/0.6558, allocations: 452.7 kB / 0.6817 GB, free: 148 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6569, allocations: 0.6437 MB / 0.6823 GB, free: 15.5 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.6569, allocations: 0 / 0.6823 GB, free: 15.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3215/0.9783, allocations: 43.31 MB / 0.7246 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.58, allocations: 1.594 kB / 0.7246 GB, free: 157.9 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)