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.001868/0.001868, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002368/0.002368, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.476/1.476, allocations: 177.1 MB / 203.9 MB, free: 5.574 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.503/0.503, allocations: 50.77 MB / 311.1 MB, free: 5.07 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.144e-06/2.144e-06, allocations: 0 / 395 MB, free: 1.332 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.102e-05, allocations: 2.312 kB / 395 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.009879/0.00991, allocations: 6.567 MB / 401.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007344/0.01725, allocations: 4.155 MB / 405.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.0181, allocations: 11.94 kB / 405.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.01975, allocations: 0.4889 MB / 406.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.0216, allocations: 0.7525 MB / 407 MB, free: 5.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.02289, allocations: 0.5499 MB / 407.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003342/0.02623, allocations: 2.527 MB / 410.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.02734, allocations: 0.6688 MB / 410.8 MB, free: 1.535 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.02929, allocations: 1.259 MB / 412 MB, free: 280 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.03092, allocations: 0.9625 MB / 413 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.03128, allocations: 212 kB / 413.2 MB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.0317, allocations: 208 kB / 413.4 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008691/0.03257, allocations: 0.8338 MB / 414.2 MB, free: 14.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.03364, allocations: 0.7796 MB / 415 MB, free: 13.28 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003854/0.03749, allocations: 3.17 MB / 418.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.0375, allocations: 0 / 418.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0375, allocations: 0 / 418.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.049e-05/0.03755, allocations: 0 / 418.2 MB, free: 10.1 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.005037/0.04259, allocations: 2.1 MB / 420.3 MB, free: 7.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.04263, allocations: 8.031 kB / 420.3 MB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.04376, allocations: 403.6 kB / 420.7 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.04522, allocations: 0.6988 MB / 421.4 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.04538, allocations: 148.4 kB / 421.5 MB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.04618, allocations: 269 kB / 421.8 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/0.05128, allocations: 2.736 MB / 424.5 MB, free: 3.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.462e-05/0.05133, allocations: 7.938 kB / 424.5 MB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.05154, allocations: 80 kB / 424.6 MB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002177/0.05176, allocations: 155.4 kB / 424.8 MB, free: 3.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.05601, allocations: 2.168 MB / 426.9 MB, free: 1.086 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.06985, allocations: 8.878 MB / 435.8 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.07208, allocations: 1.049 MB / 436.9 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.07329, allocations: 0.5897 MB / 437.4 MB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.07341, allocations: 25 kB / 437.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.07346, allocations: 51.5 kB / 437.5 MB, free: 6.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 3.677e-06/0.07346, allocations: 0 / 437.5 MB, free: 6.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.1841/0.2576, allocations: 7.412 MB / 444.9 MB, free: 84.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003698/0.2613, allocations: 3.848 MB / 448.8 MB, free: 81.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/0.2622, allocations: 0.9374 MB / 449.7 MB, free: 81.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.2624, allocations: 48.09 kB / 449.8 MB, free: 81.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.2628, allocations: 0.9829 MB / 450.7 MB, free: 81.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.2631, allocations: 0.5175 MB / 451.3 MB, free: 80.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005575/0.2636, allocations: 434.9 kB / 451.7 MB, free: 80.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.138e-05/0.2637, allocations: 330.6 kB / 452 MB, free: 80.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.265, allocations: 0.9142 MB / 452.9 MB, free: 79.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.2665, allocations: 1.879 MB / 454.8 MB, free: 78.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.2695, allocations: 2.948 MB / 457.8 MB, free: 76.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/0.2695, allocations: 8.625 kB / 457.8 MB, free: 76.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00782/0.2773, allocations: 3.789 MB / 461.6 MB, free: 74.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2773, allocations: 24.78 kB / 461.6 MB, free: 74.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.2774, allocations: 32.47 kB / 461.6 MB, free: 74.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/0.2836, allocations: 1.417 MB / 463 MB, free: 74.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002668/0.2862, allocations: 0.5586 MB / 463.6 MB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009724/0.296, allocations: 6.472 MB / 470.1 MB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.298, allocations: 168.9 kB / 470.2 MB, free: 70.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.2983, allocations: 121.3 kB / 470.3 MB, free: 70.28 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.0007848/0.2991, allocations: 0.5656 MB / 470.9 MB, free: 69.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003651/0.2994, allocations: 165.2 kB / 471.1 MB, free: 69.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007261/0.3067, allocations: 2.822 MB / 473.9 MB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006377/0.3131, allocations: 2.476 MB / 476.4 MB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/0.3131, allocations: 9.984 kB / 476.4 MB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.3131, allocations: 11.36 kB / 476.4 MB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.3255, allocations: 5.485 MB / 481.9 MB, free: 65.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.3255, allocations: 6.156 kB / 481.9 MB, free: 65.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.3273, allocations: 281.9 kB / 482.2 MB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007576/0.3349, allocations: 1.706 MB / 483.9 MB, free: 65.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/0.3351, allocations: 42.56 kB / 483.9 MB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008843/0.3439, allocations: 6.147 MB / 490 MB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004325/0.3482, allocations: 3.728 MB / 493.8 MB, free: 58.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009634/0.3579, allocations: 4.349 MB / 498.1 MB, free: 56.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.3583, allocations: 118.3 kB / 498.2 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002499/0.3585, allocations: 36.88 kB / 498.3 MB, free: 55.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.3599, allocations: 77.2 kB / 498.4 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.3602, allocations: 129 kB / 498.5 MB, free: 55.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.3604, allocations: 49.38 kB / 498.5 MB, free: 55.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007615/0.3611, allocations: 0.5535 MB / 499.1 MB, free: 55.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 0 / 499.1 MB, free: 55.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002102/0.3632, allocations: 0.5557 MB / 499.6 MB, free: 55.58 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.0002285/0.3635, allocations: 144.8 kB / 499.8 MB, free: 55.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005976/0.3694, allocations: 2.57 MB / 0.4906 GB, free: 54.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.3694, allocations: 0 / 0.4906 GB, free: 54.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.373, allocations: 1.323 MB / 0.4919 GB, free: 53.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.3752, allocations: 280.9 kB / 0.4921 GB, free: 52.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.3818, allocations: 3.823 MB / 0.4959 GB, free: 49.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.3828, allocations: 0.8353 MB / 0.4967 GB, free: 48.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001417/0.3842, allocations: 429.1 kB / 0.4971 GB, free: 48.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.3847, allocations: 103.7 kB / 0.4972 GB, free: 48.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3847, allocations: 0 / 0.4972 GB, free: 48.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03203/0.4167, allocations: 25.6 MB / 0.5222 GB, free: 23.34 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=480 -lv LOG_STATS > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.134409044985659]