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.001276/0.001276, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001022/0.001022, allocations: 169 kB / 24.14 MB, free: 352 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.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.3483/0.3483, allocations: 50.77 MB / 311.8 MB, free: 4.945 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 1.343e-06/1.343e-06, allocations: 0 / 343 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.868e-06/1.121e-05, allocations: 2.312 kB / 343 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.004966/0.004977, allocations: 6.837 MB / 349.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.007212, allocations: 2.377 MB / 352.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.007438, allocations: 11.94 kB / 352.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.007976, allocations: 349.6 kB / 352.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007436/0.008719, allocations: 0.7408 MB / 353.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.009294, allocations: 0.5655 MB / 353.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.01073, allocations: 2.535 MB / 356.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004849/0.01121, allocations: 0.6849 MB / 357.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008562/0.01207, allocations: 1.263 MB / 358.3 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008108/0.01288, allocations: 0.939 MB / 359.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.01305, allocations: 208 kB / 359.5 MB, free: 5.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.01328, allocations: 208 kB / 359.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.01373, allocations: 0.8377 MB / 360.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.01428, allocations: 0.7796 MB / 361.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01537, allocations: 1.733 MB / 363 MB, free: 1.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.01538, allocations: 0 / 363 MB, free: 1.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01538, allocations: 0 / 363 MB, free: 1.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.01539, allocations: 0 / 363 MB, free: 1.922 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.002014/0.0174, allocations: 2.012 MB / 365.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.01743, allocations: 8.031 kB / 365.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.01794, allocations: 340.7 kB / 365.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.01852, allocations: 0.5036 MB / 365.9 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.0186, allocations: 148.3 kB / 366 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.01901, allocations: 253 kB / 366.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.02123, allocations: 1.789 MB / 368.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.02126, allocations: 7.938 kB / 368.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.02138, allocations: 87.98 kB / 368.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.0215, allocations: 151.4 kB / 368.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/0.02249, allocations: 0.7993 MB / 369.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.02782, allocations: 7.481 MB / 376.6 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.0286, allocations: 0.6875 MB / 377.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.02892, allocations: 272 kB / 377.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.513e-05/0.02899, allocations: 21 kB / 377.6 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.02903, allocations: 59.48 kB / 377.6 MB, free: 2.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 2.385e-06/0.02903, allocations: 0 / 377.6 MB, free: 2.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=140): time 0.007415/0.03644, allocations: 4.057 MB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002149/0.03859, allocations: 3.196 MB / 384.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.03905, allocations: 0.7445 MB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/0.03913, allocations: 49.7 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.0395, allocations: 0.9517 MB / 386.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.03979, allocations: 0.5152 MB / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/0.04019, allocations: 428.2 kB / 387.6 MB, free: 8.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.04027, allocations: 329.9 kB / 387.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.04087, allocations: 359.9 kB / 388.2 MB, free: 7.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.0419, allocations: 1.297 MB / 389.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.04358, allocations: 1.91 MB / 391.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.04359, allocations: 12 kB / 391.5 MB, free: 3.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.003274/0.04687, allocations: 2.09 MB / 393.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.04689, allocations: 16 kB / 393.6 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.04691, allocations: 36 kB / 393.6 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/0.04946, allocations: 1.065 MB / 394.7 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.05073, allocations: 0.5342 MB / 395.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.05464, allocations: 3.984 MB / 399.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.05536, allocations: 95.92 kB / 399.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.05548, allocations: 107.9 kB / 399.4 MB, free: 11.53 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.0003627/0.05584, allocations: 275.7 kB / 399.6 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.05604, allocations: 111.9 kB / 399.8 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.05872, allocations: 1.555 MB / 401.3 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002252/0.06097, allocations: 1.181 MB / 402.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.06098, allocations: 11.94 kB / 402.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.06099, allocations: 7.969 kB / 402.5 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.06667, allocations: 3.337 MB / 405.8 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.06668, allocations: 4.625 kB / 405.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.06777, allocations: 267.6 kB / 406.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003974/0.07174, allocations: 1.272 MB / 407.4 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/0.07183, allocations: 35.98 kB / 407.4 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004368/0.0762, allocations: 3.965 MB / 411.4 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002534/0.07874, allocations: 3.054 MB / 414.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.0828, allocations: 2.587 MB / 417 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.08293, allocations: 115.2 kB / 417.1 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.08308, allocations: 36 kB / 417.2 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007405/0.08382, allocations: 43.98 kB / 417.2 MB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.08404, allocations: 120.7 kB / 417.3 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.08412, allocations: 39.97 kB / 417.4 MB, free: 8.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002838/0.08441, allocations: 284.5 kB / 417.7 MB, free: 8.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08441, allocations: 0 / 417.7 MB, free: 8.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001673/0.08608, allocations: 0.5586 MB / 418.2 MB, free: 7.945 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.0001876/0.08627, allocations: 128 kB / 418.3 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002911/0.08918, allocations: 1.556 MB / 419.9 MB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.76e-05/0.08923, allocations: 23.84 kB / 419.9 MB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/0.09098, allocations: 0.8672 MB / 420.8 MB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.09242, allocations: 318.3 kB / 421.1 MB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.09705, allocations: 3.296 MB / 424.4 MB, free: 1.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.0975, allocations: 406.9 kB / 424.8 MB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000754/0.09825, allocations: 195.5 kB / 425 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.09894, allocations: 305.1 kB / 425.3 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.09894, allocations: 0 / 425.3 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of Templates: time 0.1481/0.2471, allocations: 27.32 MB / 452.6 MB, free: 97.11 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.6992851281538606]