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.00101/0.00101, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001305/0.001305, allocations: 169.8 kB / 24.82 MB, free: 9.324 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.9248/0.9248, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1764/0.1764, allocations: 36.35 MB / 275.4 MB, free: 10.48 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.423e-06/1.423e-06, allocations: 0 / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.678e-06/1.11e-05, allocations: 2.312 kB / 354.3 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01634/0.01635, allocations: 21.64 MB / 375.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.02915, allocations: 14.39 MB / 390.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.02944, allocations: 7.938 kB / 390.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.03014, allocations: 134.9 kB / 390.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.03049, allocations: 266 kB / 390.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.04266, allocations: 6.567 MB / 397.3 MB, free: 7.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009083/0.04357, allocations: 0.6917 MB / 398 MB, free: 7.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.04387, allocations: 211.6 kB / 398.2 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.04418, allocations: 347.1 kB / 398.5 MB, free: 6.734 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.04438, allocations: 211.3 kB / 398.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.04441, allocations: 28 kB / 398.8 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.05464, allocations: 8.567 MB / 407.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.05472, allocations: 75.62 kB / 407.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.05484, allocations: 151.6 kB / 407.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007669/0.0625, allocations: 6.536 MB / 414.1 MB, free: 7.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.06251, allocations: 0 / 414.1 MB, free: 7.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.06251, allocations: 3.938 kB / 414.1 MB, free: 7.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.06251, allocations: 0 / 414.1 MB, free: 7.145 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.002447/0.06496, allocations: 1.33 MB / 415.4 MB, free: 5.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.065, allocations: 12.03 kB / 415.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.06518, allocations: 104.6 kB / 415.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.06545, allocations: 280.4 kB / 415.8 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.06546, allocations: 24.97 kB / 415.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.0655, allocations: 32.38 kB / 415.9 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.06589, allocations: 368.3 kB / 416.2 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.0659, allocations: 3.938 kB / 416.2 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.06591, allocations: 12 kB / 416.2 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.06592, allocations: 12 kB / 416.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.06613, allocations: 148.4 kB / 416.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009221/0.06705, allocations: 1.411 MB / 417.8 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.06735, allocations: 166.9 kB / 418 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.0674, allocations: 35.98 kB / 418 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1828/0.2502, allocations: 29.39 MB / 447.4 MB, free: 63.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2502, allocations: 38.3 kB / 447.4 MB, free: 63.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.2502, allocations: 0 / 447.4 MB, free: 63.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007355/0.251, allocations: 325.7 kB / 447.7 MB, free: 63.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.251, allocations: 61.94 kB / 447.8 MB, free: 63.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2512, allocations: 326.2 kB / 448.1 MB, free: 62.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2512, allocations: 29.31 kB / 448.2 MB, free: 62.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.2513, allocations: 273.3 kB / 448.4 MB, free: 62.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2513, allocations: 69.22 kB / 448.5 MB, free: 62.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.2514, allocations: 60.44 kB / 448.5 MB, free: 62.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.2514, allocations: 0.5096 MB / 449.1 MB, free: 62.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.2514, allocations: 34.34 kB / 449.1 MB, free: 62.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.2515, allocations: 104.8 kB / 449.2 MB, free: 62.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.2516, allocations: 139.5 kB / 449.3 MB, free: 61.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2516, allocations: 0 / 449.3 MB, free: 61.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000261/0.2519, allocations: 239.5 kB / 449.6 MB, free: 61.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2519, allocations: 11.03 kB / 449.6 MB, free: 61.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2519, allocations: 0 / 449.6 MB, free: 61.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.2521, allocations: 66.03 kB / 449.6 MB, free: 61.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.2522, allocations: 50.33 kB / 449.7 MB, free: 61.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000687/0.2529, allocations: 2.566 MB / 452.3 MB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.253, allocations: 19.61 kB / 452.3 MB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.253, allocations: 7.219 kB / 452.3 MB, free: 59.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.183e-05/0.253, allocations: 155.8 kB / 452.4 MB, free: 59.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.922e-05/0.2531, allocations: 99.48 kB / 452.5 MB, free: 59.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.205e-05/0.2532, allocations: 145.4 kB / 452.7 MB, free: 59.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.22e-07/0.2532, allocations: 0 / 452.7 MB, free: 59.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000208/0.2534, allocations: 232.5 kB / 452.9 MB, free: 59.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-06/0.2534, allocations: 3.875 kB / 452.9 MB, free: 59.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.2534, allocations: 7.859 kB / 452.9 MB, free: 59.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.2535, allocations: 68.97 kB / 453 MB, free: 58.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.074e-05/0.2536, allocations: 52.83 kB / 453 MB, free: 58.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005174/0.2541, allocations: 2.559 MB / 455.6 MB, free: 56.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.2542, allocations: 24.66 kB / 455.6 MB, free: 56.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2542, allocations: 7.188 kB / 455.6 MB, free: 56.48 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 (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 6.658e-05/0.2543, allocations: 285.9 kB / 455.9 MB, free: 56.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.2543, allocations: 35.81 kB / 455.9 MB, free: 56.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.2546, allocations: 0.5007 MB / 456.4 MB, free: 56.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.2547, allocations: 11.11 kB / 456.4 MB, free: 56.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.2547, allocations: 0 / 456.4 MB, free: 56.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2547, allocations: 6.375 kB / 456.4 MB, free: 56.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.2549, allocations: 331.2 kB / 456.8 MB, free: 55.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2549, allocations: 3.938 kB / 456.8 MB, free: 55.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.255, allocations: 37.39 kB / 456.8 MB, free: 55.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.575e-05/0.255, allocations: 31.09 kB / 456.8 MB, free: 55.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2551, allocations: 3.969 kB / 456.8 MB, free: 55.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003569/0.2554, allocations: 1.724 MB / 458.6 MB, free: 54.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2554, allocations: 3.875 kB / 458.6 MB, free: 54.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.2557, allocations: 0.5372 MB / 459.1 MB, free: 53.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.2558, allocations: 48.2 kB / 459.2 MB, free: 53.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2558, allocations: 7.906 kB / 459.2 MB, free: 53.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.2558, allocations: 3.938 kB / 459.2 MB, free: 53.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.2559, allocations: 18.59 kB / 459.2 MB, free: 53.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2559, allocations: 11.12 kB / 459.2 MB, free: 53.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.256, allocations: 217.6 kB / 459.4 MB, free: 53.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 3e-08/0.256, allocations: 0 / 459.4 MB, free: 53.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002428/0.2584, allocations: 1.371 MB / 460.8 MB, free: 53.71 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.00299/0.2614, allocations: 1.621 MB / 462.4 MB, free: 52.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.2618, allocations: 0.5965 MB / 463 MB, free: 52.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2618, allocations: 0 / 463 MB, free: 52.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.2619, allocations: 275.9 kB / 463.3 MB, free: 51.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.2623, allocations: 125.7 kB / 463.4 MB, free: 51.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2635, allocations: 1.01 MB / 464.4 MB, free: 50.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.317e-05/0.2636, allocations: 120.3 kB / 464.5 MB, free: 50.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.2637, allocations: 137.4 kB / 464.7 MB, free: 50.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2638, allocations: 161.3 kB / 464.8 MB, free: 50.63 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2638, allocations: 3.375 kB / 464.8 MB, free: 50.63 MB / 362.7 MB Notification: Performance of Templates: time 0.04345/0.3073, allocations: 57.52 MB / 0.5101 GB, free: 11.09 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: 5.345004966016859]