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.001183/0.001183, allocations: 88.22 kB / 20.94 MB, free: 3.605 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.001232/0.001232, allocations: 169 kB / 24.25 MB, free: 304 kB / 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.073/1.073, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.4404/0.4404, allocations: 50.77 MB / 311.8 MB, free: 5.145 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 3.426e-06/3.426e-06, allocations: 0 / 395.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.141e-05/4.483e-05, allocations: 2.312 kB / 395.8 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007149/0.007194, allocations: 7.405 MB / 403.2 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005401/0.01259, allocations: 4.432 MB / 407.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009953/0.01359, allocations: 7.938 kB / 407.6 MB, free: 5.453 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.01486, allocations: 0.4927 MB / 408.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.01636, allocations: 0.7486 MB / 408.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.01746, allocations: 0.546 MB / 409.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.02, allocations: 2.527 MB / 411.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.02112, allocations: 0.6766 MB / 412.6 MB, free: 444 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.02293, allocations: 1.255 MB / 413.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.02445, allocations: 0.9585 MB / 414.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005506/0.025, allocations: 208 kB / 415 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006109/0.02561, allocations: 212 kB / 415.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007774/0.02639, allocations: 0.8416 MB / 416.1 MB, free: 12.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.028, allocations: 0.7757 MB / 416.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.02996, allocations: 1.733 MB / 418.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.02996, allocations: 4 kB / 418.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.02997, allocations: 0 / 418.6 MB, free: 10.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.032e-05/0.03005, allocations: 4 kB / 418.6 MB, free: 10.44 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.003431/0.03348, allocations: 2.23 MB / 420.8 MB, free: 8.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.03354, allocations: 12.03 kB / 420.8 MB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008582/0.0344, allocations: 399.6 kB / 421.2 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.03551, allocations: 0.682 MB / 421.9 MB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.635e-05/0.03561, allocations: 148.3 kB / 422.1 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000496/0.0361, allocations: 276.9 kB / 422.3 MB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.03882, allocations: 2.025 MB / 424.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.03886, allocations: 7.938 kB / 424.4 MB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.03901, allocations: 87.98 kB / 424.4 MB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.03915, allocations: 147.5 kB / 424.6 MB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.04115, allocations: 1.05 MB / 425.6 MB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008523/0.04968, allocations: 10.72 MB / 436.4 MB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.05088, allocations: 0.829 MB / 437.2 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.05167, allocations: 369 kB / 437.5 MB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/0.05175, allocations: 28.94 kB / 437.6 MB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.05179, allocations: 54.39 kB / 437.6 MB, free: 6.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 3.928e-06/0.05179, allocations: 0 / 437.6 MB, free: 6.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01038/0.06217, allocations: 5.719 MB / 443.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1792/0.2413, allocations: 4.368 MB / 447.7 MB, free: 70.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.2421, allocations: 0.8671 MB / 448.6 MB, free: 70.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.2424, allocations: 46.86 kB / 448.6 MB, free: 70.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.2428, allocations: 1.034 MB / 449.7 MB, free: 69.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.2431, allocations: 0.5218 MB / 450.2 MB, free: 69.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.2435, allocations: 443.8 kB / 450.6 MB, free: 69.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.2436, allocations: 0.5004 MB / 451.1 MB, free: 69.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.2443, allocations: 400.9 kB / 451.5 MB, free: 69.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.2453, allocations: 1.774 MB / 453.3 MB, free: 67.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.2472, allocations: 2.407 MB / 455.7 MB, free: 65.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.2472, allocations: 8.938 kB / 455.7 MB, free: 65.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.004315/0.2516, allocations: 2.588 MB / 458.3 MB, free: 65.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.2516, allocations: 19.12 kB / 458.3 MB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.851e-05/0.2516, allocations: 35.22 kB / 458.3 MB, free: 65.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003191/0.2548, allocations: 1.152 MB / 459.5 MB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.2565, allocations: 0.5493 MB / 460 MB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005411/0.2619, allocations: 5.432 MB / 465.5 MB, free: 61.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.2635, allocations: 158.9 kB / 465.6 MB, free: 61.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.2637, allocations: 125.5 kB / 465.7 MB, free: 61.64 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.0005677/0.2642, allocations: 324 kB / 466.1 MB, free: 61.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.2645, allocations: 158.4 kB / 466.2 MB, free: 61.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/0.2682, allocations: 1.973 MB / 468.2 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003369/0.2716, allocations: 1.6 MB / 469.8 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/0.2716, allocations: 5.875 kB / 469.8 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.2717, allocations: 6.797 kB / 469.8 MB, free: 60.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008705/0.2804, allocations: 4.293 MB / 474.1 MB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.2804, allocations: 5.25 kB / 474.1 MB, free: 58.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.2816, allocations: 270.7 kB / 474.4 MB, free: 58.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004546/0.2861, allocations: 1.377 MB / 475.7 MB, free: 58.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.2863, allocations: 41.55 kB / 475.8 MB, free: 58.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.2916, allocations: 5.609 MB / 481.4 MB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002753/0.2943, allocations: 4.214 MB / 485.6 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00598/0.3003, allocations: 3.125 MB / 488.7 MB, free: 48.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.3007, allocations: 127.7 kB / 488.9 MB, free: 48.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.3008, allocations: 40.84 kB / 488.9 MB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/0.3017, allocations: 71.47 kB / 489 MB, free: 48.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/0.3021, allocations: 126.7 kB / 489.1 MB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.3022, allocations: 48.23 kB / 489.1 MB, free: 48.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005501/0.3027, allocations: 449.4 kB / 489.6 MB, free: 48.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3027, allocations: 3.828 kB / 489.6 MB, free: 48.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002232/0.3049, allocations: 0.5514 MB / 490.1 MB, free: 48.05 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.0002345/0.3052, allocations: 148.9 kB / 490.3 MB, free: 47.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004297/0.3095, allocations: 1.845 MB / 492.1 MB, free: 47.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.3095, allocations: 5.25 kB / 492.1 MB, free: 47.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.3119, allocations: 1.086 MB / 493.2 MB, free: 46.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.3134, allocations: 280.4 kB / 493.5 MB, free: 46.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/0.3197, allocations: 3.528 MB / 497 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.3203, allocations: 404.2 kB / 497.4 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001445/0.3217, allocations: 377.9 kB / 497.8 MB, free: 44.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.3221, allocations: 103.8 kB / 497.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of SimCode: time 2.234e-06/0.3221, allocations: 0 / 497.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of Templates: time 0.03232/0.3545, allocations: 26.03 MB / 0.5116 GB, free: 27.93 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.43088745791465]