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.0009706/0.0009706, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.0009892/0.0009892, allocations: 169 kB / 24.05 MB, free: 456 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.419/0.419, allocations: 50.78 MB / 311.8 MB, free: 4.961 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 1.543e-06/1.543e-06, allocations: 0 / 396.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.899e-05, allocations: 2.312 kB / 396.3 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.005783/0.005802, allocations: 6.828 MB / 403.1 MB, free: 9.859 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.009334, allocations: 2.314 MB / 405.4 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.00988, allocations: 11.94 kB / 405.4 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.01061, allocations: 345.6 kB / 405.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.01165, allocations: 0.7486 MB / 406.5 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.01254, allocations: 0.5576 MB / 407.1 MB, free: 5.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.01448, allocations: 2.535 MB / 409.6 MB, free: 3.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006697/0.01515, allocations: 0.6728 MB / 410.3 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.01656, allocations: 1.255 MB / 411.5 MB, free: 1.383 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.0176, allocations: 0.9741 MB / 412.5 MB, free: 416 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.01786, allocations: 208 kB / 412.7 MB, free: 208 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.01816, allocations: 208 kB / 412.9 MB, free: 0 / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005987/0.01876, allocations: 0.8377 MB / 413.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000739/0.0195, allocations: 0.7757 MB / 414.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.0212, allocations: 1.729 MB / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.02121, allocations: 0 / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02121, allocations: 0 / 416.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.02123, allocations: 4 kB / 416.2 MB, free: 12.64 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.002354/0.02358, allocations: 2.199 MB / 418.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.02362, allocations: 8.031 kB / 418.4 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.02421, allocations: 399.6 kB / 418.8 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.02557, allocations: 0.6508 MB / 419.5 MB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.02565, allocations: 152.3 kB / 419.6 MB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004056/0.02606, allocations: 253 kB / 419.9 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.02783, allocations: 1.88 MB / 421.8 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.02786, allocations: 7.938 kB / 421.8 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.02798, allocations: 83.98 kB / 421.9 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.0281, allocations: 151.5 kB / 422 MB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.02915, allocations: 0.8606 MB / 422.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008139/0.03729, allocations: 10.46 MB / 433.3 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.03815, allocations: 0.7392 MB / 434.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.03853, allocations: 316.9 kB / 434.4 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.662e-05/0.03861, allocations: 24.98 kB / 434.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.03864, allocations: 58.33 kB / 434.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 3.547e-06/0.03865, allocations: 0 / 434.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.008009/0.04666, allocations: 4.089 MB / 438.5 MB, free: 5.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003198/0.04985, allocations: 4.284 MB / 442.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.05046, allocations: 0.857 MB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.05053, allocations: 49.69 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2083/0.2589, allocations: 1.038 MB / 444.8 MB, free: 80.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006037/0.2595, allocations: 0.5275 MB / 445.3 MB, free: 80.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004334/0.2599, allocations: 461.4 kB / 445.7 MB, free: 80.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.26, allocations: 0.4971 MB / 446.2 MB, free: 79.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.2605, allocations: 358.2 kB / 446.6 MB, free: 79.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008715/0.2614, allocations: 1.743 MB / 448.3 MB, free: 78.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.263, allocations: 2.324 MB / 450.7 MB, free: 76.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/0.263, allocations: 15.47 kB / 450.7 MB, free: 76.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.003713/0.2667, allocations: 2.412 MB / 453.1 MB, free: 76.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.2668, allocations: 22.47 kB / 453.1 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.2668, allocations: 32 kB / 453.1 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002692/0.2695, allocations: 1.081 MB / 454.2 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.2708, allocations: 0.5377 MB / 454.8 MB, free: 76.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.2749, allocations: 5.246 MB / 460 MB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.2758, allocations: 92.95 kB / 460.1 MB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.2759, allocations: 105.5 kB / 460.2 MB, free: 72.14 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.0004264/0.2764, allocations: 317.1 kB / 460.5 MB, free: 71.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.2766, allocations: 166.9 kB / 460.7 MB, free: 71.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.2795, allocations: 1.76 MB / 462.4 MB, free: 71.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002443/0.2819, allocations: 1.384 MB / 463.8 MB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/0.2819, allocations: 9.75 kB / 463.8 MB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.2819, allocations: 9.734 kB / 463.8 MB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.2876, allocations: 3.858 MB / 467.7 MB, free: 69.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.2876, allocations: 3.188 kB / 467.7 MB, free: 69.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/0.2884, allocations: 265.4 kB / 468 MB, free: 69.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/0.2915, allocations: 1.271 MB / 469.2 MB, free: 69.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.2916, allocations: 48.53 kB / 469.3 MB, free: 69.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/0.295, allocations: 5.403 MB / 474.7 MB, free: 64.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001883/0.2969, allocations: 4.129 MB / 478.8 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.3003, allocations: 2.854 MB / 481.7 MB, free: 59.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.3005, allocations: 121.7 kB / 481.8 MB, free: 59.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3006, allocations: 36.44 kB / 481.8 MB, free: 59.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/0.3011, allocations: 40.47 kB / 481.9 MB, free: 59.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.3013, allocations: 119.4 kB / 482 MB, free: 59.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/0.3014, allocations: 41.3 kB / 482 MB, free: 59.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.3016, allocations: 417.4 kB / 482.4 MB, free: 59.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3016, allocations: 3.156 kB / 482.4 MB, free: 59.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001773/0.3034, allocations: 0.5532 MB / 483 MB, free: 59.15 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.0001956/0.3036, allocations: 147.8 kB / 483.1 MB, free: 59.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.3066, allocations: 1.705 MB / 484.8 MB, free: 58.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3066, allocations: 1.375 kB / 484.8 MB, free: 58.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.3082, allocations: 0.9763 MB / 485.8 MB, free: 58.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3093, allocations: 288.4 kB / 486.1 MB, free: 58.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.3143, allocations: 3.475 MB / 489.6 MB, free: 56.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.3148, allocations: 406 kB / 490 MB, free: 55.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007198/0.3155, allocations: 199.3 kB / 490.2 MB, free: 55.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/0.3161, allocations: 341.4 kB / 490.5 MB, free: 55.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3161, allocations: 0 / 490.5 MB, free: 55.75 MB / 410.7 MB Notification: Performance of Templates: time 0.0337/0.3498, allocations: 27.48 MB / 0.5058 GB, free: 38.8 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.251810885965824]