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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 109.6 kB / 19.58 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 190.5 kB / 22.85 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3818/0.3818, allocations: 65.58 MB / 372.3 MB, free: 8 MB / 302.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 62.91 kB / 0.509 GB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 66.94 MB / 0.5743 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009368/0.1515, allocations: 7.356 MB / 0.5815 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006864/0.1583, allocations: 4.38 MB / 0.5858 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008426/0.1592, allocations: 11.94 kB / 0.5858 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.1607, allocations: 0.5669 MB / 0.5863 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1623, allocations: 0.7182 MB / 0.587 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1634, allocations: 0.5384 MB / 0.5876 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003043/0.1665, allocations: 2.485 MB / 0.59 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009177/0.1674, allocations: 0.6369 MB / 0.5906 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1686, allocations: 0.8764 MB / 0.5915 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.1702, allocations: 1.102 MB / 0.5926 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.1705, allocations: 212 kB / 0.5928 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.1709, allocations: 204 kB / 0.593 GB, free: 12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007328/0.1716, allocations: 0.8104 MB / 0.5937 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.1728, allocations: 1.085 MB / 0.5948 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.1761, allocations: 3.079 MB / 0.5978 GB, free: 7.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1761, allocations: 0 / 0.5978 GB, free: 7.008 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1761, allocations: 0 / 0.5978 GB, free: 7.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.989e-05/0.1762, allocations: 0 / 0.5978 GB, free: 7.008 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.004767/0.1809, allocations: 2.127 MB / 0.5999 GB, free: 4.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.181, allocations: 12.03 kB / 0.5999 GB, free: 4.828 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004283/0.1814, allocations: 300 kB / 0.6002 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.1818, allocations: 199.7 kB / 0.6004 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.1834, allocations: 0.6918 MB / 0.6011 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.1836, allocations: 148.3 kB / 0.6012 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007693/0.1843, allocations: 272.4 kB / 0.6015 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/0.189, allocations: 2.727 MB / 0.6041 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.189, allocations: 7.938 kB / 0.6041 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.1892, allocations: 87.98 kB / 0.6042 GB, free: 196 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/0.1894, allocations: 155.4 kB / 0.6044 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.1934, allocations: 2.18 MB / 0.6065 GB, free: 13.85 MB / 462.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.01486/0.2082, allocations: 10.7 MB / 0.6169 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.2103, allocations: 1.063 MB / 0.618 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.2114, allocations: 0.5858 MB / 0.6185 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.2115, allocations: 20.92 kB / 0.6186 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.2116, allocations: 51.56 kB / 0.6186 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of pre-optimization done (n=115): time 3.416e-06/0.2116, allocations: 4 kB / 0.6186 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of matching and sorting (n=140): time 0.03049/0.2421, allocations: 7.391 MB / 0.6258 GB, free: 9.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007216/0.2493, allocations: 3.89 MB / 0.6296 GB, free: 5.184 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.2517, allocations: 1.09 MB / 0.6307 GB, free: 4.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.2521, allocations: 49.7 kB / 0.6307 GB, free: 4.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.2532, allocations: 0.9669 MB / 0.6317 GB, free: 3.035 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009256/0.2541, allocations: 0.5191 MB / 0.6322 GB, free: 2.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.2551, allocations: 444.4 kB / 0.6326 GB, free: 2.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.2554, allocations: 337.9 kB / 0.6329 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002598/0.258, allocations: 0.9182 MB / 0.6338 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/0.2616, allocations: 1.875 MB / 0.6357 GB, free: 14.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006717/0.2683, allocations: 2.955 MB / 0.6386 GB, free: 11.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-05/0.2683, allocations: 11.94 kB / 0.6386 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01328/0.2816, allocations: 3.692 MB / 0.6422 GB, free: 7.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.2817, allocations: 20.97 kB / 0.6422 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.103e-05/0.2818, allocations: 32 kB / 0.6422 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006003/0.2878, allocations: 0.9813 MB / 0.6432 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/0.2924, allocations: 0.5576 MB / 0.6437 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.3102, allocations: 6.568 MB / 0.6501 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.3136, allocations: 167.7 kB / 0.6503 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.3141, allocations: 124 kB / 0.6504 GB, free: 14.72 MB / 0.4981 GB 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.001403/0.3155, allocations: 0.5634 MB / 0.651 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005516/0.3161, allocations: 135.1 kB / 0.6511 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/0.3274, allocations: 2.844 MB / 0.6539 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01052/0.3379, allocations: 2.472 MB / 0.6563 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/0.338, allocations: 8 kB / 0.6563 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/0.338, allocations: 7.969 kB / 0.6563 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/0.3589, allocations: 5.95 MB / 0.6621 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.3589, allocations: 8.625 kB / 0.6621 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/0.3618, allocations: 279.6 kB / 0.6624 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007688/0.3695, allocations: 1.208 MB / 0.6636 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/0.3699, allocations: 39.98 kB / 0.6636 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.3848, allocations: 6.219 MB / 0.6697 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007581/0.3924, allocations: 3.768 MB / 0.6734 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01469/0.4071, allocations: 4.328 MB / 0.6776 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/0.4078, allocations: 151.1 kB / 0.6777 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.4081, allocations: 35.98 kB / 0.6778 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.4096, allocations: 75.92 kB / 0.6778 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003605/0.41, allocations: 124.6 kB / 0.678 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.4101, allocations: 55.91 kB / 0.678 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00111/0.4112, allocations: 0.7001 MB / 0.6787 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4112, allocations: 0 / 0.6787 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002524/0.4137, allocations: 0.5547 MB / 0.6792 GB, free: 444 kB / 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.01001/0.4237, allocations: 4.907 MB / 0.684 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00655/0.4303, allocations: 2.568 MB / 0.6865 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.4303, allocations: 0 / 0.6865 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003702/0.434, allocations: 1.318 MB / 0.6878 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.4363, allocations: 396.1 kB / 0.6882 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/0.4702, allocations: 17.77 MB / 0.7056 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.4716, allocations: 1.407 MB / 0.7069 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001618/0.4732, allocations: 456.7 kB / 0.7074 GB, free: 2.062 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.4742, allocations: 0.6437 MB / 0.708 GB, free: 1.418 MB / 0.545 GB Notification: Performance of SimCode: time 1.633e-06/0.4742, allocations: 4 kB / 0.708 GB, free: 1.414 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3917/0.866, allocations: 45.78 MB / 0.7527 GB, free: 100.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.88, allocations: 14.2 kB / 0.7527 GB, free: 100.4 MB / 0.545 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.25384605000727] Failed to read output from testmodel.py, exit status != 0: 15.99672255499172 16.015328791 15.835780635 Calling exit ...