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.001017/0.001017, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002481, allocations: 448 kB / 10.42 MB, free: 272 kB / 10.45 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.001074/0.001074, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.00248, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0924/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.352/0.352, allocations: 50.89 MB / 295 MB, free: 4.863 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-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 0.2.0-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 0.2.0-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 0.2.0-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 0.2.0-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 0.2.0-master/Components/Compressors/OldCompressorModels.mo:334:5-342:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.02901/0.381, allocations: 15.18 MB / 310.2 MB, free: 5.812 MB / 298.7 MB " [Timeout remaining time 180] 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.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.103e-06/2.103e-06, allocations: 0 / 311.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.833e-05, allocations: 5.688 kB / 311.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.005315/0.005333, allocations: 6.912 MB / 318.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.008319, allocations: 2.38 MB / 320.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.008603, allocations: 11.94 kB / 320.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.009128, allocations: 349.6 kB / 321.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007403/0.009868, allocations: 0.7486 MB / 321.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000586/0.01045, allocations: 0.5538 MB / 322.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.01186, allocations: 2.531 MB / 324.9 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.01235, allocations: 0.6849 MB / 325.6 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.01327, allocations: 1.305 MB / 326.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.01407, allocations: 0.9429 MB / 327.9 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.01426, allocations: 211.9 kB / 328.1 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.01452, allocations: 212 kB / 328.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.01491, allocations: 0.721 MB / 329 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004774/0.01539, allocations: 0.6318 MB / 329.6 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.01642, allocations: 1.585 MB / 331.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.01643, allocations: 3.938 kB / 331.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01643, allocations: 0 / 331.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.01645, allocations: 0 / 331.2 MB, free: 0.7344 MB / 314.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.002152/0.0186, allocations: 2.403 MB / 333.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.01863, allocations: 8.031 kB / 333.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005502/0.01918, allocations: 417.7 kB / 334 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.01975, allocations: 0.4998 MB / 334.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.01983, allocations: 148.3 kB / 334.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/0.02019, allocations: 253.1 kB / 334.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.02168, allocations: 1.793 MB / 336.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.02171, allocations: 11.88 kB / 336.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.02182, allocations: 83.98 kB / 336.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.02192, allocations: 147.5 kB / 337 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.02281, allocations: 0.7954 MB / 337.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005345/0.02816, allocations: 7.493 MB / 345.2 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.02887, allocations: 0.7054 MB / 345.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.02916, allocations: 260.1 kB / 346.2 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.02923, allocations: 28.92 kB / 346.2 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.02926, allocations: 51.56 kB / 346.3 MB, free: 1.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 2.234e-06/0.02926, allocations: 4 kB / 346.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.007146/0.0364, allocations: 4.103 MB / 350.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002217/0.03862, allocations: 3.2 MB / 353.6 MB, free: 9.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.03907, allocations: 0.7523 MB / 354.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.03914, allocations: 45.7 kB / 354.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.03946, allocations: 0.9478 MB / 355.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.03972, allocations: 0.523 MB / 355.9 MB, free: 7.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.04009, allocations: 424.2 kB / 356.3 MB, free: 6.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.04017, allocations: 325.9 kB / 356.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.04071, allocations: 359.9 kB / 356.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/0.04159, allocations: 1.301 MB / 358.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.04346, allocations: 2.027 MB / 360.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.04347, allocations: 8 kB / 360.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.003055/0.04652, allocations: 2.078 MB / 362.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.04654, allocations: 21 kB / 362.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.04657, allocations: 32.12 kB / 362.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.04902, allocations: 1.094 MB / 363.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.05047, allocations: 0.6552 MB / 364.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.05437, allocations: 4.019 MB / 368.2 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.05507, allocations: 95.95 kB / 368.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.05519, allocations: 108 kB / 368.4 MB, free: 9.504 MB / 362.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.0003326/0.05552, allocations: 275.7 kB / 368.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.0557, allocations: 111.9 kB / 368.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.0583, allocations: 1.551 MB / 370.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00214/0.06044, allocations: 1.185 MB / 371.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.06044, allocations: 4 kB / 371.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.06046, allocations: 11.97 kB / 371.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/0.06555, allocations: 3.329 MB / 374.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.06556, allocations: 8 kB / 374.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/0.06651, allocations: 354.9 kB / 375.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.06661, allocations: 111.2 kB / 375.3 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002864/0.06947, allocations: 1.276 MB / 376.6 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.06954, allocations: 47.97 kB / 376.6 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.07301, allocations: 3.97 MB / 380.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001838/0.07485, allocations: 3.054 MB / 383.6 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.07782, allocations: 2.595 MB / 386.2 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.07796, allocations: 39.94 kB / 386.3 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.07851, allocations: 39.98 kB / 386.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.07868, allocations: 124.6 kB / 386.4 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.07873, allocations: 39.97 kB / 386.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.07897, allocations: 304.5 kB / 386.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07897, allocations: 0 / 386.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00116/0.08013, allocations: 0.5508 MB / 387.3 MB, free: 5.812 MB / 378.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.0001688/0.0803, allocations: 140 kB / 387.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.08251, allocations: 1.574 MB / 389 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-05/0.08256, allocations: 42.73 kB / 389.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.08397, allocations: 0.9517 MB / 390 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.08529, allocations: 1.21 MB / 391.2 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.1002, allocations: 3.363 MB / 394.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1006, allocations: 402.9 kB / 395 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006839/0.1013, allocations: 199.5 kB / 395.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.1018, allocations: 313.1 kB / 395.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1018, allocations: 0 / 395.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of Templates: time 0.03103/0.1328, allocations: 26.98 MB / 422.5 MB, free: 2.43 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: 3.6727986373007298]