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.002227/0.002227, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002187/0.002187, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.684/1.684, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.7135/0.7135, allocations: 50.76 MB / 311.1 MB, free: 5.051 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.775e-06/2.775e-06, allocations: 0 / 395 MB, free: 1.301 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.099e-05, allocations: 6.25 kB / 395 MB, free: 1.293 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.01162/0.01166, allocations: 7.354 MB / 402.4 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009111/0.02077, allocations: 4.417 MB / 406.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.02206, allocations: 11.94 kB / 406.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.02391, allocations: 0.4966 MB / 407.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.02617, allocations: 0.7486 MB / 408.1 MB, free: 4.211 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.02769, allocations: 0.5499 MB / 408.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004264/0.03195, allocations: 2.523 MB / 411.2 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.03334, allocations: 0.6727 MB / 411.8 MB, free: 456 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.0358, allocations: 1.255 MB / 413.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.03757, allocations: 0.9662 MB / 414 MB, free: 14.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000335/0.0379, allocations: 212 kB / 414.3 MB, free: 14.01 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000494/0.0384, allocations: 212 kB / 414.5 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009218/0.03932, allocations: 0.8377 MB / 415.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.04048, allocations: 0.7757 MB / 416.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.04451, allocations: 3.17 MB / 419.2 MB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.04452, allocations: 7.984 kB / 419.3 MB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.04452, allocations: 0 / 419.3 MB, free: 8.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.724e-05/0.04459, allocations: 0 / 419.3 MB, free: 8.996 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.005967/0.05055, allocations: 2.386 MB / 421.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.05061, allocations: 8.031 kB / 421.6 MB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.05178, allocations: 399.6 kB / 422 MB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.05343, allocations: 0.6898 MB / 422.7 MB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.05358, allocations: 144.4 kB / 422.9 MB, free: 5.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008024/0.05438, allocations: 273 kB / 423.1 MB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/0.05901, allocations: 2.411 MB / 425.5 MB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.05907, allocations: 11.88 kB / 425.6 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.05927, allocations: 80 kB / 425.6 MB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/0.05951, allocations: 155.4 kB / 425.8 MB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.06313, allocations: 1.462 MB / 427.2 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.08367, allocations: 12.47 MB / 439.7 MB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.08593, allocations: 1.008 MB / 440.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.08704, allocations: 0.5166 MB / 441.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.08715, allocations: 25 kB / 441.3 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.08722, allocations: 58.31 kB / 441.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 4.058e-06/0.08722, allocations: 0 / 441.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.303/0.3902, allocations: 6.666 MB / 448 MB, free: 83.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005208/0.3954, allocations: 4.523 MB / 452.5 MB, free: 79.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.3974, allocations: 1.124 MB / 453.6 MB, free: 78.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.3978, allocations: 47.42 kB / 453.7 MB, free: 78.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008433/0.3986, allocations: 1.102 MB / 454.8 MB, free: 77.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/0.3993, allocations: 0.5504 MB / 455.3 MB, free: 77.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008711/0.4001, allocations: 0.526 MB / 455.9 MB, free: 76.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4003, allocations: 0.5103 MB / 456.4 MB, free: 76.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4014, allocations: 0.576 MB / 456.9 MB, free: 76.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.4035, allocations: 2.045 MB / 459 MB, free: 74.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.4073, allocations: 2.985 MB / 462 MB, free: 71.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.4073, allocations: 9.062 kB / 462 MB, free: 71.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008032/0.4153, allocations: 3.05 MB / 465 MB, free: 70.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.4154, allocations: 18.81 kB / 465.1 MB, free: 70.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.566e-05/0.4154, allocations: 31.72 kB / 465.1 MB, free: 70.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.4216, allocations: 1.303 MB / 466.4 MB, free: 70.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.4247, allocations: 0.543 MB / 466.9 MB, free: 70.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009888/0.4346, allocations: 6.626 MB / 473.6 MB, free: 65.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.4372, allocations: 163.7 kB / 473.7 MB, free: 65.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.4375, allocations: 123.2 kB / 473.8 MB, free: 65.53 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.001184/0.4387, allocations: 405 kB / 474.2 MB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005966/0.4393, allocations: 165.1 kB / 474.4 MB, free: 65.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007655/0.447, allocations: 2.426 MB / 476.8 MB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006241/0.4532, allocations: 2.054 MB / 478.9 MB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.4532, allocations: 5.312 kB / 478.9 MB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.4532, allocations: 7.891 kB / 478.9 MB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.4684, allocations: 5.353 MB / 484.2 MB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.4684, allocations: 5.531 kB / 484.2 MB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.4704, allocations: 268.6 kB / 484.5 MB, free: 61.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007866/0.4783, allocations: 1.516 MB / 486 MB, free: 60.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/0.4786, allocations: 41.02 kB / 486.1 MB, free: 60.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008879/0.4875, allocations: 6.533 MB / 492.6 MB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005021/0.4925, allocations: 4.417 MB / 497 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.5028, allocations: 3.94 MB / 0.4892 GB, free: 49.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.5036, allocations: 126.4 kB / 0.4893 GB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.5038, allocations: 37.89 kB / 0.4894 GB, free: 49.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.5053, allocations: 74.58 kB / 0.4894 GB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/0.5058, allocations: 126.8 kB / 0.4896 GB, free: 49.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.506, allocations: 49.16 kB / 0.4896 GB, free: 49.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.507, allocations: 0.5265 MB / 0.4901 GB, free: 49.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.507, allocations: 0 / 0.4901 GB, free: 49.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004769/0.5118, allocations: 0.5558 MB / 0.4907 GB, free: 49.31 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.0004852/0.5123, allocations: 147.2 kB / 0.4908 GB, free: 49.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008597/0.5209, allocations: 2.299 MB / 0.493 GB, free: 48.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.022e-05/0.5209, allocations: 3.781 kB / 0.4931 GB, free: 48.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00509/0.526, allocations: 1.307 MB / 0.4943 GB, free: 47.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/0.5291, allocations: 277.6 kB / 0.4946 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009921/0.5391, allocations: 3.689 MB / 0.4982 GB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.5408, allocations: 0.8045 MB / 0.499 GB, free: 43.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002421/0.5432, allocations: 378.7 kB / 0.4993 GB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.5438, allocations: 108.8 kB / 0.4994 GB, free: 43.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.895e-06/0.5438, allocations: 0 / 0.4994 GB, free: 43.44 MB / 410.7 MB Notification: Performance of Templates: time 0.04833/0.5921, allocations: 26.04 MB / 0.5249 GB, free: 19.48 MB / 410.7 MB " [Timeout remaining time 659] 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: 7.140155422035605]