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.0009108/0.0009108, allocations: 86.62 kB / 21.44 MB, free: 3.062 MB / 18.57 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.0009218/0.0009218, allocations: 171.1 kB / 24.84 MB, free: 9.199 MB / 18.57 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 0.9429/0.9429, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.4221/0.4221, allocations: 50.77 MB / 312.6 MB, free: 4.98 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/Compressor.mo:146:3-158:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/Compressor.mo:160:3-168:15:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:145:4-157:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:159:5-167:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:320:4-332:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:334:5-342:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 397 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.575e-05, allocations: 6.25 kB / 397 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.01701/0.01705, allocations: 6.848 MB / 403.9 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005332/0.02238, allocations: 2.311 MB / 406.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.02373, allocations: 11.94 kB / 406.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.02498, allocations: 349.5 kB / 406.5 MB, free: 7.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.02742, allocations: 0.7487 MB / 407.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.02861, allocations: 0.5576 MB / 407.8 MB, free: 5.891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.03141, allocations: 2.535 MB / 410.4 MB, free: 3.344 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.03248, allocations: 0.665 MB / 411 MB, free: 2.668 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.03425, allocations: 1.259 MB / 412.3 MB, free: 1.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.03566, allocations: 0.9702 MB / 413.3 MB, free: 444 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004356/0.03609, allocations: 208 kB / 413.5 MB, free: 236 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.03656, allocations: 212 kB / 413.7 MB, free: 24 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000624/0.03718, allocations: 0.8377 MB / 414.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.03858, allocations: 0.7757 MB / 415.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.04039, allocations: 1.733 MB / 417 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.04039, allocations: 0 / 417 MB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0404, allocations: 3.938 kB / 417 MB, free: 12.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.908e-05/0.04044, allocations: 4 kB / 417 MB, free: 12.66 MB / 394.7 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.002554/0.04299, allocations: 2.187 MB / 419.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.04303, allocations: 12.03 kB / 419.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.04366, allocations: 395.6 kB / 419.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.04444, allocations: 0.6547 MB / 420.3 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.04452, allocations: 148.4 kB / 420.4 MB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.04493, allocations: 257 kB / 420.7 MB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.04716, allocations: 1.869 MB / 422.5 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.0472, allocations: 11.88 kB / 422.5 MB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.04733, allocations: 91.97 kB / 422.6 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.04745, allocations: 147.5 kB / 422.8 MB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.04859, allocations: 0.8606 MB / 423.6 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007798/0.05639, allocations: 10.46 MB / 434.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.05734, allocations: 0.7474 MB / 434.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.0577, allocations: 313 kB / 435.2 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/0.05777, allocations: 24.98 kB / 435.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.0578, allocations: 54.33 kB / 435.2 MB, free: 9.727 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 4.208e-06/0.05781, allocations: 0 / 435.2 MB, free: 9.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.009131/0.06694, allocations: 4.097 MB / 439.3 MB, free: 5.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002722/0.06966, allocations: 4.276 MB / 443.6 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.0704, allocations: 0.8648 MB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.07056, allocations: 45.7 kB / 444.5 MB, free: 52 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1641/0.2346, allocations: 1.043 MB / 445.6 MB, free: 80.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006249/0.2353, allocations: 0.5285 MB / 446.1 MB, free: 80.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/0.2357, allocations: 455.6 kB / 446.5 MB, free: 80.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.2358, allocations: 0.504 MB / 447 MB, free: 80 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.2365, allocations: 350.8 kB / 447.4 MB, free: 79.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.2374, allocations: 1.745 MB / 449.1 MB, free: 78.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.2391, allocations: 2.324 MB / 451.4 MB, free: 76.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.2391, allocations: 13.66 kB / 451.5 MB, free: 76.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.003948/0.243, allocations: 2.41 MB / 453.9 MB, free: 76.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.2431, allocations: 24.05 kB / 453.9 MB, free: 76.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.2431, allocations: 32.66 kB / 453.9 MB, free: 76.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.2461, allocations: 1.08 MB / 455 MB, free: 76.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.2476, allocations: 0.5328 MB / 455.5 MB, free: 76.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.252, allocations: 5.239 MB / 460.8 MB, free: 72.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.2533, allocations: 93.52 kB / 460.9 MB, free: 72.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.2534, allocations: 106.5 kB / 461 MB, free: 72.19 MB / 410.7 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 (idealPumpControlledVdot.mediumLiquid.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,sourceLiquid.medium.state.phase,tank.mediumLiquid.state.phase,tank.mediumLiquidIn.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.0005038/0.2539, allocations: 323.5 kB / 461.3 MB, free: 71.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.2542, allocations: 161.3 kB / 461.4 MB, free: 71.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.2573, allocations: 1.771 MB / 463.2 MB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002668/0.26, allocations: 1.377 MB / 464.6 MB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.26, allocations: 9.844 kB / 464.6 MB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.26, allocations: 19.3 kB / 464.6 MB, free: 71.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.2663, allocations: 3.842 MB / 468.5 MB, free: 69.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.2663, allocations: 5.062 kB / 468.5 MB, free: 69.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/0.2673, allocations: 267.5 kB / 468.7 MB, free: 69.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/0.2706, allocations: 1.272 MB / 470 MB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.2708, allocations: 40.84 kB / 470 MB, free: 69.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/0.2746, allocations: 5.409 MB / 475.5 MB, free: 64.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00205/0.2766, allocations: 4.132 MB / 479.6 MB, free: 61.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.2805, allocations: 2.851 MB / 482.4 MB, free: 59.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.2807, allocations: 122.2 kB / 482.6 MB, free: 59.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2809, allocations: 36.72 kB / 482.6 MB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/0.2815, allocations: 40.61 kB / 482.6 MB, free: 59.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.2817, allocations: 119.3 kB / 482.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.2818, allocations: 38.62 kB / 482.8 MB, free: 59.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003205/0.2821, allocations: 426.8 kB / 483.2 MB, free: 59.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2821, allocations: 0 / 483.2 MB, free: 59.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002164/0.2843, allocations: 0.5506 MB / 483.8 MB, free: 59.2 MB / 410.7 MB 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.0002308/0.2845, allocations: 141.5 kB / 483.9 MB, free: 59.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003644/0.2882, allocations: 1.707 MB / 485.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.2882, allocations: 0 / 485.6 MB, free: 58.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.2899, allocations: 0.9815 MB / 486.6 MB, free: 58.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.2911, allocations: 280.5 kB / 486.9 MB, free: 58.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.2958, allocations: 3.479 MB / 490.3 MB, free: 56.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2962, allocations: 404.7 kB / 490.7 MB, free: 55.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007486/0.2969, allocations: 192.9 kB / 490.9 MB, free: 55.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.2976, allocations: 345.2 kB / 491.3 MB, free: 55.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.2976, allocations: 0 / 491.3 MB, free: 55.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03171/0.3293, allocations: 28.09 MB / 0.5072 GB, free: 38.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.makefile [Timeout 660] (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 & ./ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.194544950034469]