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.0015/0.0015, allocations: 108.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.001459/0.001459, 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.349/1.349, 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.3715/0.3715, allocations: 64.93 MB / 356.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 63.89 kB / 494.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2903, allocations: 63.55 MB / 0.5452 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008649/0.299, allocations: 7.388 MB / 0.5525 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006172/0.3051, allocations: 4.389 MB / 0.5567 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/0.3058, allocations: 8 kB / 0.5567 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.3071, allocations: 0.5669 MB / 0.5573 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.3086, allocations: 0.7143 MB / 0.558 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3096, allocations: 0.5306 MB / 0.5585 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.3125, allocations: 2.454 MB / 0.5609 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.3134, allocations: 0.6522 MB / 0.5616 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.3146, allocations: 0.8569 MB / 0.5624 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.3161, allocations: 1.055 MB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.3164, allocations: 211.9 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.3168, allocations: 204 kB / 0.5638 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007327/0.3175, allocations: 0.8026 MB / 0.5646 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.3187, allocations: 1.093 MB / 0.5657 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.3218, allocations: 3.079 MB / 0.5687 GB, free: 9.285 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3218, allocations: 0 / 0.5687 GB, free: 9.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3218, allocations: 0 / 0.5687 GB, free: 9.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.778e-05/0.3218, allocations: 0 / 0.5687 GB, free: 9.285 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.004622/0.3265, allocations: 2.199 MB / 0.5708 GB, free: 7.027 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3265, allocations: 8.031 kB / 0.5708 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003934/0.3269, allocations: 304 kB / 0.5711 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.3272, allocations: 199.7 kB / 0.5713 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.3285, allocations: 0.7554 MB / 0.572 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.3286, allocations: 152.3 kB / 0.5722 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006979/0.3293, allocations: 272.4 kB / 0.5725 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.3336, allocations: 2.731 MB / 0.5751 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.3337, allocations: 11.92 kB / 0.5751 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.3338, allocations: 80 kB / 0.5752 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.334, allocations: 155.5 kB / 0.5754 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.338, allocations: 2.18 MB / 0.5775 GB, free: 15.95 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.0139/0.3519, allocations: 10.82 MB / 0.588 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.355, allocations: 2.712 MB / 0.5907 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3562, allocations: 0.5897 MB / 0.5913 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3563, allocations: 24.97 kB / 0.5913 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.3563, allocations: 51.5 kB / 0.5913 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.727e-06/0.3563, allocations: 0 / 0.5913 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.02067/0.377, allocations: 7.675 MB / 0.5988 GB, free: 8.957 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005066/0.3821, allocations: 4.105 MB / 0.6029 GB, free: 4.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.3836, allocations: 1.091 MB / 0.6039 GB, free: 3.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.3839, allocations: 45.7 kB / 0.604 GB, free: 3.336 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.3846, allocations: 0.9669 MB / 0.6049 GB, free: 2.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000578/0.3852, allocations: 0.523 MB / 0.6054 GB, free: 1.828 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007108/0.3859, allocations: 440.4 kB / 0.6058 GB, free: 1.391 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3861, allocations: 346 kB / 0.6062 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.3877, allocations: 0.9142 MB / 0.6071 GB, free: 132 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.3902, allocations: 1.875 MB / 0.6089 GB, free: 13.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.3945, allocations: 2.955 MB / 0.6118 GB, free: 10.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/0.3945, allocations: 11.94 kB / 0.6118 GB, free: 10.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009/0.4035, allocations: 3.693 MB / 0.6154 GB, free: 6.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.4036, allocations: 16.22 kB / 0.6154 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.47e-05/0.4036, allocations: 39.94 kB / 0.6154 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004562/0.4082, allocations: 0.9852 MB / 0.6164 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.4112, allocations: 0.5576 MB / 0.617 GB, free: 5.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.4229, allocations: 6.672 MB / 0.6235 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.4252, allocations: 163.8 kB / 0.6236 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.4256, allocations: 124 kB / 0.6237 GB, free: 13.91 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.001093/0.4267, allocations: 0.5603 MB / 0.6243 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/0.427, allocations: 135.1 kB / 0.6244 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007939/0.435, allocations: 2.844 MB / 0.6272 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007139/0.4421, allocations: 2.468 MB / 0.6296 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/0.4421, allocations: 8 kB / 0.6296 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.4422, allocations: 7.969 kB / 0.6296 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.456, allocations: 6.046 MB / 0.6355 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.456, allocations: 12.12 kB / 0.6355 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/0.458, allocations: 279.5 kB / 0.6358 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/0.4633, allocations: 1.205 MB / 0.637 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002337/0.4636, allocations: 35.98 kB / 0.637 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.4739, allocations: 6.317 MB / 0.6432 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005178/0.4791, allocations: 3.971 MB / 0.6471 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009816/0.4889, allocations: 4.328 MB / 0.6513 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.4893, allocations: 216.2 kB / 0.6515 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.4896, allocations: 39.98 kB / 0.6515 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4909, allocations: 79.91 kB / 0.6516 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.4912, allocations: 120.7 kB / 0.6517 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.4913, allocations: 51.92 kB / 0.6518 GB, free: 332 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001013/0.4923, allocations: 0.7001 MB / 0.6525 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4923, allocations: 0 / 0.6525 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002083/0.4944, allocations: 0.5547 MB / 0.653 GB, free: 15.06 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.009964/0.5044, allocations: 4.926 MB / 0.6578 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006589/0.511, allocations: 2.563 MB / 0.6603 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.511, allocations: 0 / 0.6603 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/0.5149, allocations: 1.323 MB / 0.6616 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.5174, allocations: 406.7 kB / 0.662 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.5511, allocations: 17.74 MB / 0.6793 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.5525, allocations: 1.419 MB / 0.6807 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001623/0.5541, allocations: 452.7 kB / 0.6811 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.5552, allocations: 0.6476 MB / 0.6818 GB, free: 44 kB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/0.5552, allocations: 0 / 0.6818 GB, free: 44 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3278/0.883, allocations: 43.51 MB / 0.7243 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.54, allocations: 9.812 kB / 0.7243 GB, free: 158.1 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)