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.001691/0.001691, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001809/0.001809, allocations: 193.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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3629/0.3629, allocations: 64.94 MB / 356.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 67.89 kB / 494.8 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3527, allocations: 63.55 MB / 0.5452 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009635/0.3623, allocations: 7.372 MB / 0.5524 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.3692, allocations: 4.385 MB / 0.5567 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.37, allocations: 4 kB / 0.5567 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3715, allocations: 0.5591 MB / 0.5573 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3731, allocations: 0.6987 MB / 0.558 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3742, allocations: 0.5306 MB / 0.5585 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003194/0.3774, allocations: 2.458 MB / 0.5609 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009947/0.3784, allocations: 0.7382 MB / 0.5616 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.3795, allocations: 0.8568 MB / 0.5624 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.3811, allocations: 1.047 MB / 0.5635 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.3814, allocations: 211.9 kB / 0.5637 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.3818, allocations: 204 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009319/0.3827, allocations: 0.7988 MB / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.384, allocations: 1.093 MB / 0.5657 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003658/0.3876, allocations: 3.079 MB / 0.5687 GB, free: 9.277 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3877, allocations: 0 / 0.5687 GB, free: 9.277 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3877, allocations: 0 / 0.5687 GB, free: 9.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.063e-05/0.3877, allocations: 4 kB / 0.5687 GB, free: 9.273 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.004809/0.3925, allocations: 2.203 MB / 0.5709 GB, free: 7.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3926, allocations: 11.97 kB / 0.5709 GB, free: 7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/0.393, allocations: 296 kB / 0.5712 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/0.3934, allocations: 203.7 kB / 0.5713 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.3945, allocations: 0.7515 MB / 0.5721 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.3947, allocations: 148.3 kB / 0.5722 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006876/0.3953, allocations: 280.3 kB / 0.5725 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.3997, allocations: 2.731 MB / 0.5752 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/0.3998, allocations: 11.88 kB / 0.5752 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.4, allocations: 80 kB / 0.5752 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.4001, allocations: 151.5 kB / 0.5754 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.4039, allocations: 2.184 MB / 0.5775 GB, free: 15.94 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.01329/0.4172, allocations: 10.81 MB / 0.5881 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.4204, allocations: 2.786 MB / 0.5908 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.4216, allocations: 0.6444 MB / 0.5914 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.509e-05/0.4217, allocations: 13 kB / 0.5914 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.4217, allocations: 51.5 kB / 0.5915 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.145e-06/0.4217, allocations: 4 kB / 0.5915 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02087/0.4426, allocations: 7.706 MB / 0.599 GB, free: 8.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00531/0.448, allocations: 4.109 MB / 0.603 GB, free: 4.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.4496, allocations: 1.087 MB / 0.6041 GB, free: 3.234 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002958/0.45, allocations: 53.77 kB / 0.6041 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007603/0.4507, allocations: 0.963 MB / 0.6051 GB, free: 2.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005989/0.4513, allocations: 0.523 MB / 0.6056 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007154/0.4521, allocations: 436.4 kB / 0.606 GB, free: 1.238 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4523, allocations: 345.9 kB / 0.6063 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.4539, allocations: 0.9181 MB / 0.6072 GB, free: 15.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.4564, allocations: 1.882 MB / 0.6091 GB, free: 13.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.4607, allocations: 2.944 MB / 0.6119 GB, free: 10.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.4607, allocations: 11.94 kB / 0.612 GB, free: 10.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00962/0.4704, allocations: 3.708 MB / 0.6156 GB, free: 6.492 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.4705, allocations: 20 kB / 0.6156 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.034e-05/0.4705, allocations: 36 kB / 0.6156 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004568/0.4751, allocations: 0.9745 MB / 0.6166 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/0.4783, allocations: 0.5693 MB / 0.6171 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.4904, allocations: 6.671 MB / 0.6237 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.4929, allocations: 163.8 kB / 0.6238 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003532/0.4933, allocations: 124 kB / 0.6239 GB, free: 13.74 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.00118/0.4945, allocations: 0.5565 MB / 0.6245 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.4948, allocations: 139.3 kB / 0.6246 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008139/0.503, allocations: 2.863 MB / 0.6274 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007124/0.5101, allocations: 2.487 MB / 0.6298 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.5102, allocations: 8 kB / 0.6298 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.5102, allocations: 7.969 kB / 0.6298 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.5244, allocations: 6.072 MB / 0.6358 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.5245, allocations: 11.98 kB / 0.6358 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.5264, allocations: 280.2 kB / 0.6361 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005473/0.5319, allocations: 1.201 MB / 0.6372 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002525/0.5321, allocations: 39.98 kB / 0.6373 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.5427, allocations: 6.325 MB / 0.6434 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005252/0.548, allocations: 3.967 MB / 0.6473 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/0.5582, allocations: 4.356 MB / 0.6516 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.5588, allocations: 220.2 kB / 0.6518 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.559, allocations: 36 kB / 0.6518 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.5603, allocations: 79.91 kB / 0.6519 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/0.5606, allocations: 116.7 kB / 0.652 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5607, allocations: 47.92 kB / 0.652 GB, free: 64 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001073/0.5618, allocations: 0.7041 MB / 0.6527 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5618, allocations: 0 / 0.6527 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002255/0.5641, allocations: 0.5547 MB / 0.6533 GB, free: 14.79 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.01031/0.5744, allocations: 4.94 MB / 0.6581 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00704/0.5815, allocations: 2.677 MB / 0.6607 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.5816, allocations: 0 / 0.6607 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004527/0.5861, allocations: 1.399 MB / 0.6621 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.5889, allocations: 411.1 kB / 0.6625 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03488/0.6238, allocations: 17.78 MB / 0.6798 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.6252, allocations: 1.419 MB / 0.6812 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001688/0.6269, allocations: 452.7 kB / 0.6817 GB, free: 184 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.628, allocations: 0.6438 MB / 0.6823 GB, free: 15.53 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.628, allocations: 0 / 0.6823 GB, free: 15.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3444/0.9723, allocations: 43.31 MB / 0.7246 GB, free: 158 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.04, allocations: 1.969 kB / 0.7246 GB, free: 158 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)