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.0009684/0.0009684, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009285/0.0009285, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.818/0.818, allocations: 158.6 MB / 186.4 MB, free: 2.906 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.1725/0.1725, allocations: 36.34 MB / 275.1 MB, free: 10.65 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 1.613e-06/1.613e-06, allocations: 3.938 kB / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.97e-05, allocations: 9.969 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01608/0.0161, allocations: 21.93 MB / 375.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.02851, allocations: 14.65 MB / 390.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.02878, allocations: 11.88 kB / 390.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.02923, allocations: 138.9 kB / 390.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.02958, allocations: 262.1 kB / 390.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.04133, allocations: 6.567 MB / 397.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.042, allocations: 0.6956 MB / 398.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.04233, allocations: 199.7 kB / 398.3 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.04263, allocations: 351 kB / 398.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.04285, allocations: 215.3 kB / 398.8 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.04289, allocations: 28 kB / 398.9 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.05397, allocations: 8.567 MB / 407.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.05406, allocations: 83.55 kB / 407.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.05426, allocations: 143.7 kB / 407.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009745/0.06401, allocations: 6.532 MB / 414.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.06401, allocations: 0 / 414.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.06401, allocations: 0 / 414.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.06402, allocations: 4 kB / 414.2 MB, free: 6.859 MB / 346.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.002481/0.0665, allocations: 1.337 MB / 415.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.06654, allocations: 8.031 kB / 415.5 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.06676, allocations: 104.6 kB / 415.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.06708, allocations: 272.4 kB / 415.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.0671, allocations: 25.03 kB / 415.9 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.06714, allocations: 36.38 kB / 416 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.06764, allocations: 380.4 kB / 416.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.06765, allocations: 11.86 kB / 416.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.06767, allocations: 12 kB / 416.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.06768, allocations: 8 kB / 416.4 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.06798, allocations: 183.7 kB / 416.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.06909, allocations: 1.458 MB / 418 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.06949, allocations: 174.9 kB / 418.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.06955, allocations: 43.97 kB / 418.2 MB, free: 2.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1761/0.2456, allocations: 33.62 MB / 451.8 MB, free: 62.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2456, allocations: 39.83 kB / 451.9 MB, free: 62.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.2457, allocations: 0 / 451.9 MB, free: 62.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008093/0.2465, allocations: 344.4 kB / 452.2 MB, free: 62.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.2465, allocations: 55.12 kB / 452.3 MB, free: 62.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2467, allocations: 336.2 kB / 452.6 MB, free: 62.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2467, allocations: 29.2 kB / 452.6 MB, free: 62.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.2468, allocations: 272.7 kB / 452.9 MB, free: 62.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.2468, allocations: 69.62 kB / 452.9 MB, free: 62.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.2469, allocations: 56.88 kB / 453 MB, free: 62.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.247, allocations: 0.5119 MB / 453.5 MB, free: 61.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.247, allocations: 38.52 kB / 453.6 MB, free: 61.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.2471, allocations: 104.2 kB / 453.7 MB, free: 61.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.2472, allocations: 155 kB / 453.8 MB, free: 61.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2472, allocations: 3.141 kB / 453.8 MB, free: 61.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003046/0.2475, allocations: 241.9 kB / 454 MB, free: 61.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2475, allocations: 7.406 kB / 454.1 MB, free: 61.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2476, allocations: 1.812 kB / 454.1 MB, free: 61.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.2478, allocations: 78.25 kB / 454.1 MB, free: 61.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.2479, allocations: 43.8 kB / 454.2 MB, free: 61.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000818/0.2488, allocations: 2.59 MB / 456.8 MB, free: 59.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.2488, allocations: 30.67 kB / 456.8 MB, free: 59.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2489, allocations: 10.88 kB / 456.8 MB, free: 59.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.368e-05/0.249, allocations: 163.1 kB / 457 MB, free: 58.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.121e-05/0.249, allocations: 100.5 kB / 457.1 MB, free: 58.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001108/0.2491, allocations: 145 kB / 457.2 MB, free: 58.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.2491, allocations: 4 kB / 457.2 MB, free: 58.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002559/0.2494, allocations: 253.8 kB / 457.5 MB, free: 58.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.2494, allocations: 4 kB / 457.5 MB, free: 58.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.2494, allocations: 4 kB / 457.5 MB, free: 58.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001646/0.2496, allocations: 72.22 kB / 457.5 MB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.2496, allocations: 49.59 kB / 457.6 MB, free: 58.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006202/0.2503, allocations: 2.584 MB / 460.2 MB, free: 55.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.2503, allocations: 24 kB / 460.2 MB, free: 55.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2503, allocations: 8 kB / 460.2 MB, free: 55.9 MB / 362.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 (ST.fluidState_in.phase,SensT1.fluidState.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 6.766e-05/0.2504, allocations: 289.2 kB / 460.5 MB, free: 55.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.2504, allocations: 35.69 kB / 460.5 MB, free: 55.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.2509, allocations: 0.5476 MB / 461.1 MB, free: 55.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2509, allocations: 13.94 kB / 461.1 MB, free: 55.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2509, allocations: 0 / 461.1 MB, free: 55.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2509, allocations: 3.938 kB / 461.1 MB, free: 55.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.2511, allocations: 380.4 kB / 461.5 MB, free: 54.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2511, allocations: 0 / 461.5 MB, free: 54.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2512, allocations: 43.23 kB / 461.5 MB, free: 54.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.517e-05/0.2513, allocations: 29.67 kB / 461.5 MB, free: 54.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.2513, allocations: 7.875 kB / 461.5 MB, free: 54.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/0.2517, allocations: 1.74 MB / 463.3 MB, free: 53.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2517, allocations: 0 / 463.3 MB, free: 53.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.2521, allocations: 0.5859 MB / 463.9 MB, free: 52.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2521, allocations: 52.64 kB / 463.9 MB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.2522, allocations: 6.625 kB / 463.9 MB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2522, allocations: 4 kB / 463.9 MB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.2523, allocations: 16.94 kB / 463.9 MB, free: 52.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2523, allocations: 7.844 kB / 463.9 MB, free: 52.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.2524, allocations: 230.4 kB / 464.2 MB, free: 52.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2524, allocations: 4.062 kB / 464.2 MB, free: 52.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002312/0.2547, allocations: 1.369 MB / 465.5 MB, free: 51.02 MB / 362.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.003483/0.2582, allocations: 1.586 MB / 467.1 MB, free: 49.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.2588, allocations: 0.6147 MB / 467.7 MB, free: 49.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2588, allocations: 5.891 kB / 467.7 MB, free: 49.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.2589, allocations: 281.4 kB / 468 MB, free: 48.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.2593, allocations: 129.6 kB / 468.1 MB, free: 48.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2607, allocations: 1.01 MB / 469.2 MB, free: 47.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.431e-05/0.2608, allocations: 123.2 kB / 469.3 MB, free: 47.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.2609, allocations: 132 kB / 469.4 MB, free: 47.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.261, allocations: 30 kB / 469.4 MB, free: 47.69 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.261, allocations: 3.656 kB / 469.4 MB, free: 47.69 MB / 362.7 MB Notification: Performance of Templates: time 0.04455/0.3055, allocations: 58.59 MB / 0.5157 GB, free: 5.453 MB / 378.7 MB " [Timeout remaining time 660] 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: 6.054856200702488]