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.001079/0.001079, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001207/0.001207, allocations: 169 kB / 24.14 MB, free: 360 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.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.5 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.3731/0.3731, allocations: 50.78 MB / 311.8 MB, free: 4.934 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 180] 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.104e-06/2.104e-06, allocations: 0 / 343 MB, free: 6.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.334e-05, allocations: 2.312 kB / 343 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.005768/0.005791, allocations: 6.883 MB / 349.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.009585, allocations: 2.377 MB / 352.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005814/0.01017, allocations: 11.94 kB / 352.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008084/0.01098, allocations: 349.6 kB / 352.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.01202, allocations: 0.7525 MB / 353.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.01286, allocations: 0.5616 MB / 354 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.01495, allocations: 2.535 MB / 356.5 MB, free: 8.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007995/0.01575, allocations: 0.681 MB / 357.2 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.01701, allocations: 1.251 MB / 358.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.0181, allocations: 0.939 MB / 359.4 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.01837, allocations: 208 kB / 359.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.01868, allocations: 212 kB / 359.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.01916, allocations: 0.8416 MB / 360.6 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006924/0.01985, allocations: 0.7718 MB / 361.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.02116, allocations: 1.733 MB / 363.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.02116, allocations: 8 kB / 363.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02116, allocations: 4 kB / 363.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.02118, allocations: 0 / 363.1 MB, free: 1.828 MB / 330.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.002161/0.02334, allocations: 2.008 MB / 365.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.02337, allocations: 8.031 kB / 365.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.02391, allocations: 336.6 kB / 365.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.02456, allocations: 0.5075 MB / 366 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.02464, allocations: 152.3 kB / 366.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.02501, allocations: 249.1 kB / 366.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.02663, allocations: 1.793 MB / 368.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/0.02666, allocations: 7.938 kB / 368.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.02677, allocations: 87.94 kB / 368.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003708/0.02714, allocations: 151.5 kB / 368.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.02814, allocations: 0.7993 MB / 369.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/0.03398, allocations: 7.469 MB / 376.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.03479, allocations: 0.6962 MB / 377.4 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.0351, allocations: 260.1 kB / 377.6 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/0.03517, allocations: 36.92 kB / 377.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.0352, allocations: 47.56 kB / 377.7 MB, free: 2.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 3.076e-06/0.0352, allocations: 0 / 377.7 MB, free: 2.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=140): time 0.007864/0.04307, allocations: 4.058 MB / 381.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002359/0.04542, allocations: 3.2 MB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.04593, allocations: 0.7523 MB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/0.046, allocations: 45.7 kB / 385.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.04634, allocations: 0.9517 MB / 386.7 MB, free: 9.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.04662, allocations: 0.5152 MB / 387.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.04701, allocations: 420.2 kB / 387.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.04709, allocations: 333.9 kB / 388 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.0477, allocations: 355.9 kB / 388.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.04922, allocations: 1.297 MB / 389.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.05098, allocations: 1.91 MB / 391.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.05099, allocations: 8 kB / 391.5 MB, free: 3.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.003414/0.0544, allocations: 2.102 MB / 393.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.05443, allocations: 20 kB / 393.7 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.05445, allocations: 32 kB / 393.7 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/0.0571, allocations: 1.066 MB / 394.8 MB, free: 316 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.05867, allocations: 0.62 MB / 395.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/0.06297, allocations: 3.999 MB / 399.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.06391, allocations: 95.91 kB / 399.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.06404, allocations: 108 kB / 399.6 MB, free: 11.34 MB / 378.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.0004338/0.06447, allocations: 279.7 kB / 399.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.06469, allocations: 111.9 kB / 400 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.06751, allocations: 1.551 MB / 401.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002328/0.06984, allocations: 1.181 MB / 402.7 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.06985, allocations: 15.94 kB / 402.7 MB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.06986, allocations: 7.969 kB / 402.7 MB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/0.07574, allocations: 3.329 MB / 406 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.07575, allocations: 8.094 kB / 406.1 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.07679, allocations: 338.9 kB / 406.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/0.07995, allocations: 1.256 MB / 407.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.08003, allocations: 39.97 kB / 407.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.08376, allocations: 3.966 MB / 411.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001996/0.08575, allocations: 3.054 MB / 414.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.08907, allocations: 2.587 MB / 417.3 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.08924, allocations: 123.2 kB / 417.4 MB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.08936, allocations: 36 kB / 417.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.08993, allocations: 35.98 kB / 417.5 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.09013, allocations: 124.6 kB / 417.6 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.0902, allocations: 43.97 kB / 417.6 MB, free: 8.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005061/0.0907, allocations: 280.5 kB / 417.9 MB, free: 8.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0907, allocations: 0 / 417.9 MB, free: 8.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001419/0.09212, allocations: 0.5508 MB / 418.5 MB, free: 7.699 MB / 394.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.000175/0.0923, allocations: 136.1 kB / 418.6 MB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.09472, allocations: 1.553 MB / 420.1 MB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.961e-05/0.09476, allocations: 27.84 kB / 420.2 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.09614, allocations: 0.8633 MB / 421 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.0972, allocations: 314.3 kB / 421.3 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.1014, allocations: 3.304 MB / 424.6 MB, free: 1.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.102, allocations: 402.9 kB / 425 MB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007629/0.1027, allocations: 195.5 kB / 425.2 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.1033, allocations: 305.1 kB / 425.5 MB, free: 432 kB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1033, allocations: 4 kB / 425.5 MB, free: 428 kB / 394.7 MB Notification: Performance of Templates: time 0.1559/0.2592, allocations: 27.33 MB / 452.9 MB, free: 97.08 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.743481828365475]