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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 213.3 kB / 23.78 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.4121/0.4121, allocations: 65.59 MB / 379.5 MB, free: 2.109 MB / 302.1 MB " [Timeout remaining time 179] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermalSeparation requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 75.27 kB / 0.5183 GB, free: 2.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1371, allocations: 68.11 MB / 0.5848 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008764/0.1458, allocations: 6.567 MB / 0.5913 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.1527, allocations: 4.147 MB / 0.5953 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1537, allocations: 11.94 kB / 0.5953 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.1554, allocations: 0.493 MB / 0.5958 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.1573, allocations: 0.7221 MB / 0.5965 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.1588, allocations: 0.5423 MB / 0.597 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.1628, allocations: 2.477 MB / 0.5994 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.1641, allocations: 0.6372 MB / 0.6001 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.1659, allocations: 0.8802 MB / 0.6009 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.1681, allocations: 1.094 MB / 0.602 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005629/0.1687, allocations: 208 kB / 0.6022 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.1694, allocations: 212 kB / 0.6024 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009303/0.1703, allocations: 0.8064 MB / 0.6032 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.1719, allocations: 0.9066 MB / 0.6041 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.1757, allocations: 3.095 MB / 0.6071 GB, free: 268 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1757, allocations: 0 / 0.6071 GB, free: 268 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1757, allocations: 0 / 0.6071 GB, free: 268 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.063e-05/0.1758, allocations: 3.938 kB / 0.6071 GB, free: 264 kB / 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.005397/0.1812, allocations: 2.126 MB / 0.6092 GB, free: 14.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.1812, allocations: 12.02 kB / 0.6092 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001309/0.1814, allocations: 56.17 kB / 0.6092 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004117/0.1818, allocations: 292.1 kB / 0.6095 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/0.1826, allocations: 239.6 kB / 0.6097 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1839, allocations: 0.6957 MB / 0.6104 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1841, allocations: 148.3 kB / 0.6106 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007727/0.1848, allocations: 272.2 kB / 0.6108 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/0.1895, allocations: 2.727 MB / 0.6135 GB, free: 9.438 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.1895, allocations: 7.922 kB / 0.6135 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.1897, allocations: 95.97 kB / 0.6136 GB, free: 9.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.1899, allocations: 147.5 kB / 0.6137 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.1939, allocations: 2.176 MB / 0.6159 GB, free: 7.012 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.01404/0.2079, allocations: 9.101 MB / 0.6247 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/0.2102, allocations: 1.05 MB / 0.6258 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.2115, allocations: 0.5858 MB / 0.6263 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.2116, allocations: 24.97 kB / 0.6264 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.2117, allocations: 55.5 kB / 0.6264 GB, free: 11.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=115): time 3.707e-06/0.2117, allocations: 0 / 0.6264 GB, free: 11.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=140): time 0.02216/0.2338, allocations: 7.378 MB / 0.6336 GB, free: 4.434 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005254/0.2391, allocations: 3.875 MB / 0.6374 GB, free: 272 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.2407, allocations: 1.087 MB / 0.6385 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003058/0.241, allocations: 49.7 kB / 0.6385 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007615/0.2417, allocations: 0.9592 MB / 0.6395 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006256/0.2424, allocations: 0.5191 MB / 0.64 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007403/0.2431, allocations: 452.4 kB / 0.6404 GB, free: 13.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2433, allocations: 341.9 kB / 0.6407 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.245, allocations: 0.922 MB / 0.6416 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.2477, allocations: 1.875 MB / 0.6434 GB, free: 9.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004814/0.2525, allocations: 2.951 MB / 0.6463 GB, free: 6.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.204e-05/0.2525, allocations: 8 kB / 0.6463 GB, free: 6.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01002/0.2626, allocations: 3.685 MB / 0.6499 GB, free: 2.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.2626, allocations: 20.06 kB / 0.65 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/0.2627, allocations: 39.94 kB / 0.65 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005035/0.2677, allocations: 0.9701 MB / 0.6509 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/0.2709, allocations: 0.5654 MB / 0.6515 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.2835, allocations: 6.493 MB / 0.6578 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.2856, allocations: 159.8 kB / 0.658 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.2859, allocations: 124 kB / 0.6581 GB, free: 9.891 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.001037/0.2869, allocations: 0.5632 MB / 0.6587 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.2873, allocations: 135.2 kB / 0.6588 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008518/0.2958, allocations: 2.844 MB / 0.6616 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007628/0.3034, allocations: 2.464 MB / 0.664 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/0.3035, allocations: 11.98 kB / 0.664 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.3035, allocations: 3.984 kB / 0.664 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.319, allocations: 5.565 MB / 0.6694 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.319, allocations: 4.625 kB / 0.6694 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.321, allocations: 291.5 kB / 0.6697 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005803/0.3268, allocations: 1.196 MB / 0.6709 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003455/0.3272, allocations: 47.97 kB / 0.6709 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.338, allocations: 6.141 MB / 0.6769 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00555/0.3435, allocations: 3.756 MB / 0.6806 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.3544, allocations: 4.332 MB / 0.6848 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.3549, allocations: 143.1 kB / 0.6849 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.3552, allocations: 39.98 kB / 0.685 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.3567, allocations: 79.91 kB / 0.6851 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/0.357, allocations: 132.5 kB / 0.6852 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.3572, allocations: 43.98 kB / 0.6852 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001169/0.3583, allocations: 0.704 MB / 0.6859 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3583, allocations: 192 / 0.6859 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002556/0.3609, allocations: 0.5547 MB / 0.6865 GB, free: 12.1 MB / 0.5294 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.01052/0.3714, allocations: 4.91 MB / 0.6912 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006724/0.3781, allocations: 2.572 MB / 0.6938 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.3782, allocations: 192 / 0.6938 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004162/0.3823, allocations: 1.329 MB / 0.6951 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/0.3849, allocations: 402.9 kB / 0.6954 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.305/0.6898, allocations: 17.74 MB / 0.7128 GB, free: 119.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.6912, allocations: 0.8275 MB / 0.7136 GB, free: 119.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001714/0.6929, allocations: 453 kB / 0.714 GB, free: 119.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.6939, allocations: 0.6467 MB / 0.7146 GB, free: 119.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.6939, allocations: 0 / 0.7146 GB, free: 119.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.7975, allocations: 45.88 MB / 0.7594 GB, free: 88.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.76, allocations: 4 kB / 0.7594 GB, free: 88.27 MB / 0.545 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=50 --tolerance=1e-06 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: 21.135875132051297] Failed to read output from testmodel.py, exit status != 0: 17.9607356779743 17.978927819 17.799519391 Calling exit ...