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.0008559/0.0008559, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008731/0.0008731, allocations: 168.7 kB / 24.91 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9185/0.9185, allocations: 158.6 MB / 186.8 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2049/0.2049, allocations: 36.34 MB / 275.4 MB, free: 10.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 2.675e-06/2.675e-06, allocations: 0.7031 kB / 305.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.567e-05, allocations: 2.859 kB / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.02216/0.0222, allocations: 21.9 MB / 327.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.03714, allocations: 14.6 MB / 341.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004371/0.03758, allocations: 11.94 kB / 341.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.03809, allocations: 130.9 kB / 341.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.03855, allocations: 262 kB / 342.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01549/0.05404, allocations: 5.919 MB / 348.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000951/0.05499, allocations: 0.6879 MB / 348.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.05544, allocations: 224.2 kB / 349 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.05591, allocations: 343 kB / 349.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.05623, allocations: 211.3 kB / 349.5 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.05628, allocations: 28 kB / 349.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.07192, allocations: 9.175 MB / 358.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.07206, allocations: 75.62 kB / 358.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.0724, allocations: 151.7 kB / 358.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.08599, allocations: 6.536 MB / 365.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.677e-06/0.086, allocations: 4 kB / 365.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.086, allocations: 0 / 365.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.08601, allocations: 0 / 365.5 MB, free: 7.684 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003462/0.08947, allocations: 1.213 MB / 366.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.08951, allocations: 12.03 kB / 366.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.08982, allocations: 88.8 kB / 366.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.0902, allocations: 245.6 kB / 367 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.09023, allocations: 25.03 kB / 367 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.09028, allocations: 32.36 kB / 367.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.0909, allocations: 363.2 kB / 367.4 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.09091, allocations: 3.938 kB / 367.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.09094, allocations: 12 kB / 367.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.09095, allocations: 8 kB / 367.5 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.09131, allocations: 148.4 kB / 367.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.09246, allocations: 1.004 MB / 368.6 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.09291, allocations: 154.4 kB / 368.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.09296, allocations: 32.84 kB / 368.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3955/0.4884, allocations: 116.5 MB / 485.3 MB, free: 126.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4884, allocations: 33.69 kB / 485.4 MB, free: 126.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 2.535e-06/0.4885, allocations: 1.969 kB / 485.4 MB, free: 126.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007839/0.4892, allocations: 293 kB / 485.6 MB, free: 126.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.4893, allocations: 55.41 kB / 485.7 MB, free: 126.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.4894, allocations: 272.4 kB / 486 MB, free: 126.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4895, allocations: 28.83 kB / 486 MB, free: 126.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.4895, allocations: 188.5 kB / 486.2 MB, free: 126.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.4896, allocations: 74.47 kB / 486.2 MB, free: 126.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.4896, allocations: 45.48 kB / 486.3 MB, free: 126.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.4897, allocations: 342 kB / 486.6 MB, free: 125.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.062e-05/0.4897, allocations: 26.39 kB / 486.6 MB, free: 125.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.4898, allocations: 79.66 kB / 486.7 MB, free: 125.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.948e-05/0.4899, allocations: 121.1 kB / 486.8 MB, free: 125.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4899, allocations: 3.562 kB / 486.8 MB, free: 125.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000252/0.4901, allocations: 191 kB / 487 MB, free: 125.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4901, allocations: 4 kB / 487 MB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4901, allocations: 4 kB / 487 MB, free: 125.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/0.4904, allocations: 67.14 kB / 487.1 MB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4906, allocations: 51.58 kB / 487.2 MB, free: 125.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009028/0.4915, allocations: 1.737 MB / 488.9 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.4916, allocations: 17.08 kB / 488.9 MB, free: 123.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.4916, allocations: 4 kB / 488.9 MB, free: 123.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.386e-05/0.4917, allocations: 117.4 kB / 489 MB, free: 123.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.1e-05/0.4917, allocations: 72.95 kB / 489.1 MB, free: 123.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.971e-05/0.4918, allocations: 119.3 kB / 489.2 MB, free: 123.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4918, allocations: 0 / 489.2 MB, free: 123.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002276/0.4921, allocations: 190 kB / 489.4 MB, free: 123.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.4921, allocations: 10.91 kB / 489.4 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.4921, allocations: 4 kB / 489.4 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.4923, allocations: 60.69 kB / 489.5 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4924, allocations: 52.31 kB / 489.5 MB, free: 123 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007385/0.4931, allocations: 1.745 MB / 491.3 MB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.4932, allocations: 16.2 kB / 491.3 MB, free: 121.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4932, allocations: 11.88 kB / 491.3 MB, free: 121.2 MB / 426.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 0.0001037/0.4933, allocations: 200.5 kB / 491.5 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.4934, allocations: 15.8 kB / 491.5 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.4938, allocations: 0.5169 MB / 492 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4938, allocations: 10.5 kB / 492 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4938, allocations: 0 / 492 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4939, allocations: 0 / 492 MB, free: 120.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.4942, allocations: 297.1 kB / 492.3 MB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4942, allocations: 0 / 492.3 MB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.4943, allocations: 57.95 kB / 492.4 MB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.351e-05/0.4944, allocations: 24.84 kB / 492.4 MB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4944, allocations: 10.31 kB / 492.4 MB, free: 120.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.4948, allocations: 1.158 MB / 493.6 MB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4948, allocations: 0 / 493.6 MB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.4952, allocations: 499.9 kB / 494.1 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.4952, allocations: 47.48 kB / 494.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.4952, allocations: 9.375 kB / 494.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.4953, allocations: 9.297 kB / 494.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.4954, allocations: 14.47 kB / 494.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4954, allocations: 0 / 494.1 MB, free: 118.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.973e-05/0.4954, allocations: 104.2 kB / 494.2 MB, free: 118.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.4954, allocations: 0 / 494.2 MB, free: 118.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003043/0.4985, allocations: 1.372 MB / 495.6 MB, free: 117.4 MB / 426.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.004271/0.5028, allocations: 1.695 MB / 497.3 MB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.5033, allocations: 470.1 kB / 497.8 MB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.5033, allocations: 0 / 497.8 MB, free: 115.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5034, allocations: 212.2 kB / 498 MB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.5038, allocations: 121.2 kB / 498.1 MB, free: 115.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.5052, allocations: 0.9671 MB / 499.1 MB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.5052, allocations: 122.5 kB / 499.2 MB, free: 114.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.5054, allocations: 148.5 kB / 499.3 MB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.5056, allocations: 132.3 kB / 499.5 MB, free: 114.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/0.5056, allocations: 0 / 499.5 MB, free: 114.2 MB / 426.7 MB Notification: Performance of Templates: time 0.05332/0.5589, allocations: 56.47 MB / 0.5429 GB, free: 57.87 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.605373519938439]