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.001077/0.001077, allocations: 83.58 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.00168/0.00168, allocations: 161 kB / 24.56 MB, free: 20 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 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.637 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.1055/0.1055, allocations: 19.74 MB / 281.2 MB, free: 9.266 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.573e-06/1.573e-06, allocations: 0 / 358 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.494e-05, allocations: 2.312 kB / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01828/0.01831, allocations: 22.05 MB / 380 MB, free: 488 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.03068, allocations: 14.65 MB / 394.7 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.03095, allocations: 7.938 kB / 394.7 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.03138, allocations: 135 kB / 394.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.03175, allocations: 262 kB / 395.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.04404, allocations: 6.598 MB / 401.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.04475, allocations: 0.6917 MB / 402.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.04508, allocations: 207.6 kB / 402.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.04539, allocations: 347.2 kB / 402.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.04562, allocations: 211.3 kB / 403.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.04566, allocations: 28 kB / 403.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.05725, allocations: 8.578 MB / 411.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.05735, allocations: 75.62 kB / 411.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.05757, allocations: 151.6 kB / 411.9 MB, free: 484 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1339/0.1915, allocations: 6.537 MB / 418.5 MB, free: 25.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1915, allocations: 1.859 kB / 418.5 MB, free: 25.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1915, allocations: 0 / 418.5 MB, free: 25.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1915, allocations: 1.594 kB / 418.5 MB, free: 25.59 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.003609/0.1951, allocations: 1.346 MB / 419.8 MB, free: 24.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1952, allocations: 10.19 kB / 419.8 MB, free: 24.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002418/0.1954, allocations: 97.48 kB / 419.9 MB, free: 24.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1957, allocations: 281 kB / 420.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1957, allocations: 25.02 kB / 420.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.1958, allocations: 35.66 kB / 420.3 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.1963, allocations: 381.2 kB / 420.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1963, allocations: 0 / 420.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.1963, allocations: 16.62 kB / 420.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1963, allocations: 11.33 kB / 420.7 MB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.1966, allocations: 181.4 kB / 420.8 MB, free: 24.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1977, allocations: 1.454 MB / 422.3 MB, free: 23.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.1981, allocations: 176.3 kB / 422.5 MB, free: 23.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.1981, allocations: 43.23 kB / 422.5 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05485/0.253, allocations: 35.09 MB / 457.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.253, allocations: 37.39 kB / 457.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.943e-06/0.253, allocations: 0 / 457.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008325/0.2538, allocations: 343.6 kB / 458 MB, free: 4.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.2539, allocations: 63.34 kB / 458 MB, free: 4.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2541, allocations: 335.3 kB / 458.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2541, allocations: 25.7 kB / 458.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.2541, allocations: 266.4 kB / 458.6 MB, free: 3.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.2542, allocations: 67.72 kB / 458.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.2542, allocations: 50.36 kB / 458.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.2543, allocations: 0.5138 MB / 459.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.2543, allocations: 39.42 kB / 459.3 MB, free: 2.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.2544, allocations: 104.8 kB / 459.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2545, allocations: 156.8 kB / 459.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.2545, allocations: 0 / 459.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003038/0.2548, allocations: 249.5 kB / 459.8 MB, free: 2.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2549, allocations: 15 kB / 459.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2549, allocations: 5.078 kB / 459.8 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.2551, allocations: 70.58 kB / 459.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2552, allocations: 43.44 kB / 459.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008439/0.2561, allocations: 2.602 MB / 462.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.2562, allocations: 19.09 kB / 462.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.2562, allocations: 15.86 kB / 462.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001151/0.2564, allocations: 159 kB / 462.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.63e-05/0.2564, allocations: 108.8 kB / 462.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001388/0.2566, allocations: 155.3 kB / 463 MB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.2566, allocations: 0 / 463 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002964/0.2569, allocations: 245.6 kB / 463.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2569, allocations: 11.98 kB / 463.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.2569, allocations: 0 / 463.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.2571, allocations: 72.64 kB / 463.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.2572, allocations: 46.59 kB / 463.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.2582, allocations: 2.589 MB / 465.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.436e-05/0.2583, allocations: 19.34 kB / 466 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2583, allocations: 11.98 kB / 466 MB, free: 12.07 MB / 346.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 0.0001093/0.2584, allocations: 282.3 kB / 466.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.2584, allocations: 31.55 kB / 466.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.2589, allocations: 0.5523 MB / 466.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.259, allocations: 11.55 kB / 466.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.259, allocations: 0 / 466.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.259, allocations: 5.016 kB / 466.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.2593, allocations: 380.1 kB / 467.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2593, allocations: 4.875 kB / 467.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2594, allocations: 39.08 kB / 467.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.388e-05/0.2595, allocations: 31.22 kB / 467.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2595, allocations: 0 / 467.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/0.2601, allocations: 1.74 MB / 469 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2601, allocations: 4 kB / 469 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.2606, allocations: 0.5786 MB / 469.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.2607, allocations: 60.31 kB / 469.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.2607, allocations: 0 / 469.7 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.2607, allocations: 7.375 kB / 469.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2608, allocations: 19.53 kB / 469.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2608, allocations: 4 kB / 469.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.2609, allocations: 231.6 kB / 469.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2609, allocations: 0 / 469.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004094/0.265, allocations: 1.378 MB / 471.3 MB, free: 6.891 MB / 346.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.005344/0.2704, allocations: 1.607 MB / 472.9 MB, free: 5.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007493/0.2711, allocations: 0.6078 MB / 473.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2711, allocations: 3.281 kB / 473.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.2713, allocations: 292.1 kB / 473.8 MB, free: 4.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2718, allocations: 124.6 kB / 473.9 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2734, allocations: 1.005 MB / 474.9 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.449e-05/0.2735, allocations: 118.8 kB / 475.1 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.2736, allocations: 143.4 kB / 475.2 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.2737, allocations: 28.5 kB / 475.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2737, allocations: 4 kB / 475.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of Templates: time 0.05113/0.3248, allocations: 50.83 MB / 0.5137 GB, free: 0.543 MB / 394.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: 5.308670798782259]