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.000935/0.000935, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.00125/0.00125, allocations: 165 kB / 23.8 MB, free: 0.7695 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.069/1.069, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.3735/0.3735, allocations: 50.77 MB / 311.5 MB, free: 5.16 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.787e-06/3.787e-06, allocations: 4 kB / 395.8 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.442e-05, allocations: 2.312 kB / 395.8 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.008733/0.008758, allocations: 6.953 MB / 402.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.01274, allocations: 2.322 MB / 405.1 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.01323, allocations: 11.94 kB / 405.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.01399, allocations: 341.6 kB / 405.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.01506, allocations: 0.7486 MB / 406.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.01605, allocations: 0.5499 MB / 406.7 MB, free: 6.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.01854, allocations: 2.539 MB / 409.2 MB, free: 3.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.01957, allocations: 0.6727 MB / 409.9 MB, free: 2.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.02162, allocations: 1.255 MB / 411.2 MB, free: 1.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.02267, allocations: 0.9624 MB / 412.1 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.0229, allocations: 208 kB / 412.3 MB, free: 420 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.02322, allocations: 212 kB / 412.5 MB, free: 208 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005183/0.02373, allocations: 0.8417 MB / 413.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.0244, allocations: 0.7796 MB / 414.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.02581, allocations: 1.729 MB / 415.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.02582, allocations: 0 / 415.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.02582, allocations: 0 / 415.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.744e-05/0.02584, allocations: 0 / 415.9 MB, free: 12.84 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.003029/0.02887, allocations: 2.242 MB / 418.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.02892, allocations: 8.031 kB / 418.1 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006591/0.02957, allocations: 403.6 kB / 418.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.03044, allocations: 0.6743 MB / 419.2 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.714e-05/0.03053, allocations: 152.3 kB / 419.4 MB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004534/0.03098, allocations: 277 kB / 419.6 MB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.03319, allocations: 2.021 MB / 421.6 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.03323, allocations: 7.938 kB / 421.7 MB, free: 6.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.03335, allocations: 87.92 kB / 421.7 MB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.03348, allocations: 151.5 kB / 421.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.03506, allocations: 1.047 MB / 422.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.04298, allocations: 10.72 MB / 433.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.04408, allocations: 0.8292 MB / 434.5 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.04461, allocations: 369 kB / 434.8 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.04469, allocations: 28.94 kB / 434.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.04473, allocations: 54.39 kB / 434.9 MB, free: 9.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 3.958e-06/0.04473, allocations: 0 / 434.9 MB, free: 9.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01032/0.05505, allocations: 5.726 MB / 440.7 MB, free: 3.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1969/0.252, allocations: 4.362 MB / 445 MB, free: 78.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.253, allocations: 0.8763 MB / 445.9 MB, free: 78.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/0.2534, allocations: 47.27 kB / 445.9 MB, free: 78.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.2538, allocations: 1.032 MB / 447 MB, free: 78.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.2542, allocations: 0.5223 MB / 447.5 MB, free: 78.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/0.2547, allocations: 449 kB / 447.9 MB, free: 78.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.2548, allocations: 0.4954 MB / 448.4 MB, free: 77.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.2554, allocations: 399 kB / 448.8 MB, free: 77.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.2565, allocations: 1.782 MB / 450.6 MB, free: 75.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.2586, allocations: 2.397 MB / 453 MB, free: 74.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.2586, allocations: 12.94 kB / 453 MB, free: 74.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.004269/0.2629, allocations: 2.581 MB / 455.6 MB, free: 73.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.2629, allocations: 21.62 kB / 455.6 MB, free: 73.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.263, allocations: 31.91 kB / 455.6 MB, free: 73.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.2661, allocations: 1.156 MB / 456.8 MB, free: 73.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.2675, allocations: 0.5487 MB / 457.3 MB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004917/0.2724, allocations: 5.426 MB / 462.8 MB, free: 69.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.2735, allocations: 166.5 kB / 462.9 MB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.2737, allocations: 123.2 kB / 463.1 MB, free: 69.35 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.0005147/0.2742, allocations: 320.9 kB / 463.4 MB, free: 69.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.2745, allocations: 157.6 kB / 463.5 MB, free: 68.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.2781, allocations: 1.962 MB / 465.5 MB, free: 68.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003011/0.2811, allocations: 1.607 MB / 467.1 MB, free: 68.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.2811, allocations: 6.812 kB / 467.1 MB, free: 68.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.2812, allocations: 12.73 kB / 467.1 MB, free: 68.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006428/0.2876, allocations: 4.285 MB / 471.4 MB, free: 66.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2876, allocations: 9.844 kB / 471.4 MB, free: 66.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008827/0.2885, allocations: 267.1 kB / 471.7 MB, free: 66.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003428/0.2919, allocations: 1.383 MB / 473 MB, free: 66.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.292, allocations: 40.98 kB / 473.1 MB, free: 66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003878/0.2959, allocations: 5.612 MB / 478.7 MB, free: 61.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002005/0.2979, allocations: 4.204 MB / 482.9 MB, free: 57.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.3022, allocations: 3.135 MB / 486 MB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.3024, allocations: 120.5 kB / 486.2 MB, free: 55.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3025, allocations: 41.08 kB / 486.2 MB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.3031, allocations: 69.11 kB / 486.3 MB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.3034, allocations: 126.2 kB / 486.4 MB, free: 55.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.3034, allocations: 53.12 kB / 486.4 MB, free: 55.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003919/0.3038, allocations: 444.8 kB / 486.9 MB, free: 55.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 486.9 MB, free: 55.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001804/0.3056, allocations: 0.5556 MB / 487.4 MB, free: 55.49 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.0002138/0.3058, allocations: 145.7 kB / 487.6 MB, free: 55.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003244/0.3091, allocations: 1.847 MB / 489.4 MB, free: 54.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3091, allocations: 1.094 kB / 489.4 MB, free: 54.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.311, allocations: 1.092 MB / 490.5 MB, free: 54.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3121, allocations: 280.8 kB / 490.8 MB, free: 54.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.3172, allocations: 3.52 MB / 494.3 MB, free: 52.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.3176, allocations: 404.6 kB / 494.7 MB, free: 52.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008986/0.3185, allocations: 379.7 kB / 495.1 MB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.3189, allocations: 102.1 kB / 495.2 MB, free: 51.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3189, allocations: 1.375 kB / 495.2 MB, free: 51.98 MB / 410.7 MB Notification: Performance of Templates: time 0.02881/0.3477, allocations: 26.78 MB / 0.5097 GB, free: 33.45 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.138000399805605]