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.001148/0.001148, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.00132/0.00132, allocations: 165 kB / 23.8 MB, free: 0.7734 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 1.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.3815/0.3815, allocations: 50.76 MB / 311.5 MB, free: 5.113 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.234e-06/2.234e-06, allocations: 0 / 395.8 MB, free: 1.004 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.673e-05, allocations: 2.312 kB / 395.8 MB, free: 1 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.005788/0.005814, allocations: 6.947 MB / 402.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.008759, allocations: 2.318 MB / 405.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.009143, allocations: 11.94 kB / 405.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.009808, allocations: 345.6 kB / 405.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008752/0.01068, allocations: 0.7525 MB / 406.2 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006922/0.01137, allocations: 0.5499 MB / 406.7 MB, free: 6.035 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.01315, allocations: 2.539 MB / 409.2 MB, free: 3.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006723/0.01382, allocations: 0.6689 MB / 409.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.01496, allocations: 1.251 MB / 411.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.01614, allocations: 0.9663 MB / 412.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.01634, allocations: 204 kB / 412.3 MB, free: 392 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.01663, allocations: 219.9 kB / 412.5 MB, free: 172 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.01709, allocations: 0.8338 MB / 413.4 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.0177, allocations: 0.7757 MB / 414.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.01898, allocations: 1.729 MB / 415.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01898, allocations: 0 / 415.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01898, allocations: 4 kB / 415.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.179e-05/0.01901, allocations: 3.984 kB / 415.9 MB, free: 12.81 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.002492/0.0215, allocations: 2.238 MB / 418.1 MB, free: 10.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.02154, allocations: 12.03 kB / 418.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.02214, allocations: 395.6 kB / 418.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.02315, allocations: 0.686 MB / 419.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.02322, allocations: 148.3 kB / 419.4 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004282/0.02365, allocations: 277 kB / 419.6 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.02577, allocations: 2.021 MB / 421.6 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.0258, allocations: 3.938 kB / 421.7 MB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.02592, allocations: 91.97 kB / 421.7 MB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.02604, allocations: 155.4 kB / 421.9 MB, free: 6.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.02761, allocations: 1.05 MB / 422.9 MB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007912/0.03552, allocations: 10.71 MB / 433.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.03667, allocations: 0.8254 MB / 434.5 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.03721, allocations: 376.9 kB / 434.9 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-05/0.0373, allocations: 32.94 kB / 434.9 MB, free: 9.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.03733, allocations: 50.38 kB / 434.9 MB, free: 9.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 4.528e-06/0.03733, allocations: 0 / 434.9 MB, free: 9.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01035/0.04768, allocations: 5.729 MB / 440.7 MB, free: 3.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1536/0.2013, allocations: 4.348 MB / 445 MB, free: 78.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.2025, allocations: 0.879 MB / 445.9 MB, free: 78.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002715/0.2028, allocations: 50.48 kB / 445.9 MB, free: 78.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.2032, allocations: 1.033 MB / 447 MB, free: 78.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005445/0.2038, allocations: 0.521 MB / 447.5 MB, free: 78.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.2045, allocations: 448 kB / 447.9 MB, free: 78.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.2046, allocations: 0.4986 MB / 448.4 MB, free: 77.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.2058, allocations: 398.5 kB / 448.8 MB, free: 77.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.2073, allocations: 1.778 MB / 450.6 MB, free: 75.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.21, allocations: 2.403 MB / 453 MB, free: 74.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/0.2101, allocations: 10.75 kB / 453 MB, free: 74.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006678/0.2167, allocations: 2.579 MB / 455.6 MB, free: 73.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.2168, allocations: 22.03 kB / 455.6 MB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/0.2168, allocations: 32.47 kB / 455.6 MB, free: 73.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004805/0.2216, allocations: 1.155 MB / 456.8 MB, free: 73.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/0.2243, allocations: 0.5464 MB / 457.3 MB, free: 73.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007574/0.2319, allocations: 5.435 MB / 462.8 MB, free: 69.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.2341, allocations: 159.8 kB / 462.9 MB, free: 69.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/0.2344, allocations: 118 kB / 463 MB, free: 69.34 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 (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.0006873/0.2351, allocations: 324.5 kB / 463.4 MB, free: 69.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.2355, allocations: 165.2 kB / 463.5 MB, free: 68.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005796/0.2413, allocations: 1.959 MB / 465.5 MB, free: 68.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005127/0.2464, allocations: 1.609 MB / 467.1 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.2464, allocations: 6.328 kB / 467.1 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.2465, allocations: 6.703 kB / 467.1 MB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.2575, allocations: 4.288 MB / 471.4 MB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.2575, allocations: 12.41 kB / 471.4 MB, free: 66.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.2592, allocations: 274.6 kB / 471.7 MB, free: 66.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006075/0.2653, allocations: 1.383 MB / 473.1 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003196/0.2656, allocations: 42.95 kB / 473.1 MB, free: 65.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007157/0.2727, allocations: 5.591 MB / 478.7 MB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003755/0.2765, allocations: 4.213 MB / 482.9 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006222/0.2827, allocations: 3.139 MB / 486 MB, free: 55.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.283, allocations: 119.4 kB / 486.2 MB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2831, allocations: 40.89 kB / 486.2 MB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.2838, allocations: 73.92 kB / 486.3 MB, free: 55.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.284, allocations: 120.8 kB / 486.4 MB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-05/0.2841, allocations: 51.47 kB / 486.4 MB, free: 55.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003971/0.2845, allocations: 444.2 kB / 486.9 MB, free: 55.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2845, allocations: 1.312 kB / 486.9 MB, free: 55.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001792/0.2863, allocations: 0.5548 MB / 487.4 MB, free: 55.48 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.0001991/0.2865, allocations: 149.8 kB / 487.6 MB, free: 55.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003523/0.29, allocations: 1.844 MB / 489.4 MB, free: 54.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.29, allocations: 5.25 kB / 489.4 MB, free: 54.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/0.292, allocations: 1.084 MB / 490.5 MB, free: 54.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2932, allocations: 280.2 kB / 490.8 MB, free: 54.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.2979, allocations: 3.527 MB / 494.3 MB, free: 52.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.2983, allocations: 406 kB / 494.7 MB, free: 52.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008615/0.2992, allocations: 376.3 kB / 495.1 MB, free: 51.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.2995, allocations: 106.9 kB / 495.2 MB, free: 51.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2995, allocations: 0 / 495.2 MB, free: 51.96 MB / 410.7 MB Notification: Performance of Templates: time 0.02765/0.3272, allocations: 26.03 MB / 0.509 GB, free: 34.18 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.120549869257957]