Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.001061/0.001061, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002603, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001129/0.001129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002642, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.934/0.934, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08842/1.022, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09184/0.09184, allocations: 19.79 MB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01303/0.1049, allocations: 7.561 MB / 271.5 MB, free: 3.344 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 272.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.926e-05, allocations: 6.109 kB / 272.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.139/0.139, allocations: 22.05 MB / 294.9 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.1517, allocations: 14.69 MB / 309.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.152, allocations: 15.88 kB / 309.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1523, allocations: 127 kB / 309.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.1526, allocations: 262.1 kB / 310 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0139/0.1665, allocations: 5.933 MB / 315.9 MB, free: 2.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007507/0.1673, allocations: 0.6956 MB / 316.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.1677, allocations: 212.3 kB / 316.8 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.1681, allocations: 383.6 kB / 317.2 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.1684, allocations: 199.3 kB / 317.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.1684, allocations: 31.94 kB / 317.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.1807, allocations: 9.215 MB / 326.6 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.1808, allocations: 59.75 kB / 326.7 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.181, allocations: 127.8 kB / 326.8 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008564/0.1896, allocations: 4.893 MB / 331.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1896, allocations: 0 / 331.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1896, allocations: 0 / 331.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1896, allocations: 0 / 331.7 MB, free: 2.602 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002637/0.1922, allocations: 1.679 MB / 333.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.1922, allocations: 12.03 kB / 333.4 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.1924, allocations: 86.11 kB / 333.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1927, allocations: 241.7 kB / 333.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1927, allocations: 21.03 kB / 333.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.1927, allocations: 40.31 kB / 333.8 MB, free: 468 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1932, allocations: 363.2 kB / 334.1 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1932, allocations: 3.938 kB / 334.1 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1932, allocations: 16 kB / 334.2 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1932, allocations: 8 kB / 334.2 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.1934, allocations: 140.4 kB / 334.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.1942, allocations: 1.016 MB / 335.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.1945, allocations: 158.4 kB / 335.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.1946, allocations: 24.86 kB / 335.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3121/0.5066, allocations: 116.7 MB / 452.2 MB, free: 110.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5067, allocations: 39.44 kB / 452.3 MB, free: 110.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.254e-06/0.5067, allocations: 0 / 452.3 MB, free: 110.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006261/0.5073, allocations: 291.7 kB / 452.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.337e-05/0.5073, allocations: 59.89 kB / 452.6 MB, free: 110.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.5074, allocations: 272.6 kB / 452.9 MB, free: 110.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.5074, allocations: 33.31 kB / 452.9 MB, free: 110.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.5075, allocations: 191.6 kB / 453.1 MB, free: 110 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.5075, allocations: 67.31 kB / 453.2 MB, free: 110 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.5076, allocations: 52.12 kB / 453.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.5076, allocations: 342 kB / 453.5 MB, free: 109.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.5076, allocations: 24.84 kB / 453.6 MB, free: 109.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.5077, allocations: 72.7 kB / 453.6 MB, free: 109.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.5078, allocations: 123.6 kB / 453.8 MB, free: 109.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5078, allocations: 0.7656 kB / 453.8 MB, free: 109.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002035/0.508, allocations: 191.4 kB / 453.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.508, allocations: 4.188 kB / 454 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.508, allocations: 8 kB / 454 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.5082, allocations: 61.47 kB / 454 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.5083, allocations: 59.06 kB / 454.1 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005618/0.5089, allocations: 1.74 MB / 455.8 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.5089, allocations: 19.59 kB / 455.8 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.509, allocations: 7.562 kB / 455.8 MB, free: 107.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.275e-05/0.509, allocations: 109.7 kB / 456 MB, free: 107.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.534e-05/0.5091, allocations: 81.05 kB / 456 MB, free: 107.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.929e-05/0.5091, allocations: 132.7 kB / 456.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.5091, allocations: 0 / 456.2 MB, free: 106.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001662/0.5093, allocations: 182.6 kB / 456.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.5093, allocations: 4 kB / 456.3 MB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.5093, allocations: 4 kB / 456.3 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.5094, allocations: 65.06 kB / 456.4 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.5095, allocations: 62.45 kB / 456.5 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004349/0.51, allocations: 1.732 MB / 458.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.51, allocations: 17.92 kB / 458.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.51, allocations: 7.938 kB / 458.2 MB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (SensT1.fluidState.phase,ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.5101, allocations: 197.6 kB / 458.4 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.5101, allocations: 23.84 kB / 458.4 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.5104, allocations: 0.512 MB / 459 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.5104, allocations: 14 kB / 459 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5104, allocations: 7.703 kB / 459 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5104, allocations: 0 / 459 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.5106, allocations: 287.4 kB / 459.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5106, allocations: 0 / 459.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.5108, allocations: 59.45 kB / 459.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.5108, allocations: 46.75 kB / 459.4 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.5108, allocations: 27.94 kB / 459.4 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.5109, allocations: 6.859 kB / 459.4 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002716/0.5111, allocations: 1.166 MB / 460.6 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5111, allocations: 0 / 460.6 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5114, allocations: 493.5 kB / 461 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.5114, allocations: 16.48 kB / 461.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.5115, allocations: 3.438 kB / 461.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.5115, allocations: 23.12 kB / 461.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.5115, allocations: 2.25 kB / 461.1 MB, free: 102.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.5116, allocations: 97.98 kB / 461.2 MB, free: 102 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5116, allocations: 0 / 461.2 MB, free: 102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001987/0.5135, allocations: 1.383 MB / 462.6 MB, free: 100.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002936/0.5165, allocations: 1.724 MB / 464.3 MB, free: 99.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.5169, allocations: 485.1 kB / 464.8 MB, free: 98.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.5169, allocations: 4 kB / 464.8 MB, free: 98.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.517, allocations: 226.3 kB / 465 MB, free: 98.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.5174, allocations: 0.7485 MB / 465.7 MB, free: 97.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.522, allocations: 0.9398 MB / 466.7 MB, free: 96.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.5221, allocations: 130.5 kB / 466.8 MB, free: 96.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.5222, allocations: 137.1 kB / 466.9 MB, free: 96.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.5224, allocations: 132.9 kB / 467.1 MB, free: 96.28 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5224, allocations: 4 kB / 467.1 MB, free: 96.28 MB / 410.7 MB Notification: Performance of Templates: time 0.0332/0.5556, allocations: 46.24 MB / 0.5013 GB, free: 50.35 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.321015355177224]