Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001234/0.001234, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001388/0.001388, allocations: 165 kB / 24.56 MB, free: 16 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 0.8692/0.8692, allocations: 177.2 MB / 205 MB, free: 5.289 MB / 186.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.08218/0.08218, allocations: 19.74 MB / 281.2 MB, free: 9.105 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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 358 MB, free: 7.652 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.097e-06/1.039e-05, allocations: 2.312 kB / 358 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01532/0.01533, allocations: 22.05 MB / 380 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.02658, allocations: 14.65 MB / 394.7 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.02671, allocations: 7.938 kB / 394.7 MB, free: 2.809 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.02704, allocations: 131 kB / 394.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.02731, allocations: 270 kB / 395.1 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008601/0.03591, allocations: 6.59 MB / 401.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.03637, allocations: 0.6915 MB / 402.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.03663, allocations: 219.6 kB / 402.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.03688, allocations: 343.2 kB / 402.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.03708, allocations: 219.3 kB / 403.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.03712, allocations: 28 kB / 403.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009072/0.04619, allocations: 8.575 MB / 411.7 MB, free: 1.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.04626, allocations: 75.67 kB / 411.8 MB, free: 1.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.04637, allocations: 147.6 kB / 411.9 MB, free: 1.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005916/0.05229, allocations: 6.552 MB / 418.5 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.05229, allocations: 0 / 418.5 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.05229, allocations: 0 / 418.5 MB, free: 10.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.0523, allocations: 0 / 418.5 MB, free: 10.94 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001668/0.05397, allocations: 1.337 MB / 419.8 MB, free: 9.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.054, allocations: 15.97 kB / 419.8 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.0542, allocations: 96.58 kB / 419.9 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.05449, allocations: 276.5 kB / 420.2 MB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.05451, allocations: 25.03 kB / 420.2 MB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.05455, allocations: 32.31 kB / 420.3 MB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.05523, allocations: 384.4 kB / 420.6 MB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.05524, allocations: 7.938 kB / 420.6 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.05526, allocations: 8 kB / 420.7 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.05527, allocations: 8 kB / 420.7 MB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.05555, allocations: 187.6 kB / 420.8 MB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.05655, allocations: 1.446 MB / 422.3 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.0569, allocations: 182.9 kB / 422.5 MB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.05696, allocations: 39.98 kB / 422.5 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1844/0.2414, allocations: 35.08 MB / 457.6 MB, free: 95.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.2414, allocations: 36.58 kB / 457.6 MB, free: 95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.2414, allocations: 0 / 457.6 MB, free: 95 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008482/0.2423, allocations: 346.3 kB / 458 MB, free: 94.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.2423, allocations: 51.41 kB / 458 MB, free: 94.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.2425, allocations: 334.1 kB / 458.3 MB, free: 94.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2425, allocations: 29.27 kB / 458.4 MB, free: 94.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.2426, allocations: 273.3 kB / 458.6 MB, free: 94.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2426, allocations: 63.44 kB / 458.7 MB, free: 94.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.2426, allocations: 60.11 kB / 458.8 MB, free: 94.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.2427, allocations: 0.5126 MB / 459.3 MB, free: 94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/0.2428, allocations: 36.53 kB / 459.3 MB, free: 93.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.2428, allocations: 102.9 kB / 459.4 MB, free: 93.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.243, allocations: 158.5 kB / 459.6 MB, free: 93.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.243, allocations: 0 / 459.6 MB, free: 93.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003026/0.2433, allocations: 252.5 kB / 459.8 MB, free: 93.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2433, allocations: 6.219 kB / 459.8 MB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2433, allocations: 3.562 kB / 459.8 MB, free: 93.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.2436, allocations: 73.45 kB / 459.9 MB, free: 93.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2437, allocations: 47.67 kB / 459.9 MB, free: 93.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008309/0.2445, allocations: 2.587 MB / 462.5 MB, free: 91.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2446, allocations: 26.39 kB / 462.6 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2446, allocations: 11.44 kB / 462.6 MB, free: 91.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.448e-05/0.2447, allocations: 160.5 kB / 462.7 MB, free: 91.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.567e-05/0.2448, allocations: 113.9 kB / 462.8 MB, free: 90.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001193/0.2449, allocations: 152.5 kB / 463 MB, free: 90.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/0.2449, allocations: 4 kB / 463 MB, free: 90.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002643/0.2452, allocations: 245.7 kB / 463.2 MB, free: 90.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.2452, allocations: 6.969 kB / 463.2 MB, free: 90.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.2452, allocations: 3.344 kB / 463.2 MB, free: 90.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.2454, allocations: 84.08 kB / 463.3 MB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.2455, allocations: 41.81 kB / 463.4 MB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006314/0.2461, allocations: 2.586 MB / 465.9 MB, free: 88.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.2462, allocations: 18.89 kB / 466 MB, free: 88.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2462, allocations: 12.44 kB / 466 MB, free: 88.27 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 (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 7.895e-05/0.2463, allocations: 278.8 kB / 466.2 MB, free: 87.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2463, allocations: 37.44 kB / 466.3 MB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.2468, allocations: 0.5503 MB / 466.8 MB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2468, allocations: 10.2 kB / 466.8 MB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2468, allocations: 3.031 kB / 466.8 MB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2468, allocations: 0 / 466.8 MB, free: 87.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.247, allocations: 377.9 kB / 467.2 MB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.247, allocations: 3.031 kB / 467.2 MB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.2471, allocations: 48.97 kB / 467.3 MB, free: 87.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-05/0.2472, allocations: 26.81 kB / 467.3 MB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2472, allocations: 6.422 kB / 467.3 MB, free: 87.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004036/0.2476, allocations: 1.739 MB / 469 MB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2476, allocations: 3.125 kB / 469 MB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.248, allocations: 0.5788 MB / 469.6 MB, free: 85.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2481, allocations: 52.41 kB / 469.7 MB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2481, allocations: 3.188 kB / 469.7 MB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.2481, allocations: 6.562 kB / 469.7 MB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2482, allocations: 24.02 kB / 469.7 MB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2482, allocations: 6.875 kB / 469.7 MB, free: 85.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2483, allocations: 226.7 kB / 469.9 MB, free: 85.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2483, allocations: 4.062 kB / 469.9 MB, free: 85.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00253/0.2508, allocations: 1.383 MB / 471.3 MB, free: 85.52 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.00376/0.2546, allocations: 1.599 MB / 472.9 MB, free: 85.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.2553, allocations: 0.6111 MB / 473.5 MB, free: 84.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2553, allocations: 4.25 kB / 473.5 MB, free: 84.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2554, allocations: 288.2 kB / 473.8 MB, free: 84.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.2559, allocations: 127.4 kB / 473.9 MB, free: 84.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.2573, allocations: 1.021 MB / 475 MB, free: 84.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.773e-05/0.2574, allocations: 120.7 kB / 475.1 MB, free: 84.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.2575, allocations: 133.1 kB / 475.2 MB, free: 84.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2576, allocations: 36.73 kB / 475.2 MB, free: 84.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2576, allocations: 0 / 475.2 MB, free: 84.07 MB / 410.7 MB Notification: Performance of Templates: time 0.05143/0.309, allocations: 58.69 MB / 0.5214 GB, free: 45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.09372350666672]