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.000868/0.000868, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009653/0.0009653, allocations: 168.1 kB / 24.99 MB, free: 8.336 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.8237/0.8237, allocations: 158.6 MB / 186.8 MB, free: 2.898 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.1612/0.1612, allocations: 36.34 MB / 275.4 MB, free: 10.73 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.064e-06/2.064e-06, allocations: 0 / 353.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.744e-05, allocations: 5.969 kB / 353.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.03712/0.03715, allocations: 45.13 MB / 398.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.05078, allocations: 15.07 MB / 414 MB, free: 7.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.05107, allocations: 7.938 kB / 414 MB, free: 7.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.05161, allocations: 190.6 kB / 414.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.05197, allocations: 262 kB / 414.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.06328, allocations: 6.645 MB / 421.1 MB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.0639, allocations: 0.6917 MB / 421.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003307/0.06423, allocations: 215.6 kB / 422 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.06455, allocations: 355 kB / 422.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.06478, allocations: 215.3 kB / 422.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.06482, allocations: 28 kB / 422.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.07486, allocations: 8.633 MB / 431.2 MB, free: 6.062 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.07493, allocations: 79.59 kB / 431.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.07506, allocations: 147.7 kB / 431.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1436/0.2186, allocations: 6.587 MB / 438 MB, free: 31.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2186, allocations: 1.094 kB / 438 MB, free: 31.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2186, allocations: 0 / 438 MB, free: 31.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.2186, allocations: 0 / 438 MB, free: 31.38 MB / 362.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.00313/0.2218, allocations: 1.353 MB / 439.4 MB, free: 30.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2218, allocations: 9.219 kB / 439.4 MB, free: 30.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.2221, allocations: 100.9 kB / 439.5 MB, free: 30.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.2225, allocations: 284.9 kB / 439.8 MB, free: 30.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.2225, allocations: 21.34 kB / 439.8 MB, free: 30.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.2226, allocations: 32.66 kB / 439.8 MB, free: 30.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.2232, allocations: 383.2 kB / 440.2 MB, free: 30.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2232, allocations: 2.062 kB / 440.2 MB, free: 30.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.2233, allocations: 19.17 kB / 440.2 MB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2233, allocations: 8.156 kB / 440.2 MB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.2237, allocations: 179 kB / 440.4 MB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2249, allocations: 1.454 MB / 441.9 MB, free: 29.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.2255, allocations: 180.5 kB / 442 MB, free: 29.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/0.2255, allocations: 46.52 kB / 442.1 MB, free: 29.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06321/0.2888, allocations: 33.63 MB / 475.7 MB, free: 17.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2888, allocations: 33.39 kB / 475.7 MB, free: 17.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.164e-06/0.2888, allocations: 0 / 475.7 MB, free: 17.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008128/0.2896, allocations: 343.7 kB / 476.1 MB, free: 17.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.357e-05/0.2896, allocations: 55.34 kB / 476.1 MB, free: 17.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2898, allocations: 338.1 kB / 476.5 MB, free: 17.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2898, allocations: 29.2 kB / 476.5 MB, free: 17.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.2899, allocations: 267.9 kB / 476.8 MB, free: 16.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.2899, allocations: 71.09 kB / 476.8 MB, free: 16.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.29, allocations: 60 kB / 476.9 MB, free: 16.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.29, allocations: 0.5137 MB / 477.4 MB, free: 16.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.2901, allocations: 35.61 kB / 477.4 MB, free: 16.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.2901, allocations: 106.6 kB / 477.5 MB, free: 16.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.2903, allocations: 151.9 kB / 477.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2903, allocations: 0 / 477.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002819/0.2905, allocations: 240.8 kB / 477.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2906, allocations: 10.8 kB / 477.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2906, allocations: 4 kB / 477.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.2908, allocations: 77.5 kB / 478 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.2909, allocations: 43.64 kB / 478 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006544/0.2915, allocations: 2.584 MB / 480.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2916, allocations: 32.55 kB / 480.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2917, allocations: 8 kB / 480.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.829e-05/0.2918, allocations: 159.9 kB / 480.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.173e-05/0.2918, allocations: 103.5 kB / 480.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001129/0.2919, allocations: 157.4 kB / 481.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.2919, allocations: 0 / 481.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000247/0.2922, allocations: 253.6 kB / 481.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.461e-06/0.2922, allocations: 5.094 kB / 481.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.2922, allocations: 4 kB / 481.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.2923, allocations: 76.53 kB / 481.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.2924, allocations: 43.17 kB / 481.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005713/0.293, allocations: 2.592 MB / 484 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.2931, allocations: 23.69 kB / 484.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2931, allocations: 11.19 kB / 484.1 MB, free: 9.371 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.223e-05/0.2931, allocations: 290.6 kB / 484.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.2932, allocations: 33.45 kB / 484.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.2936, allocations: 0.5493 MB / 484.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.2936, allocations: 7.984 kB / 485 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2936, allocations: 0 / 485 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.2936, allocations: 0 / 485 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.2938, allocations: 387.9 kB / 485.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2938, allocations: 0 / 485.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.294, allocations: 47.16 kB / 485.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.294, allocations: 27.36 kB / 485.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.294, allocations: 4 kB / 485.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003741/0.2944, allocations: 1.738 MB / 487.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2944, allocations: 0 / 487.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.2948, allocations: 0.5831 MB / 487.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.2948, allocations: 50.72 kB / 487.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2948, allocations: 4 kB / 487.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.2949, allocations: 11.78 kB / 487.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.2949, allocations: 11.98 kB / 487.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.2949, allocations: 7.984 kB / 487.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.475e-05/0.295, allocations: 227.4 kB / 488 MB, free: 5.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.295, allocations: 64 / 488 MB, free: 5.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002468/0.2975, allocations: 1.378 MB / 489.4 MB, free: 4.184 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.003265/0.3008, allocations: 1.598 MB / 491 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005024/0.3013, allocations: 0.6138 MB / 491.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3013, allocations: 0 / 491.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3014, allocations: 280.5 kB / 491.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3018, allocations: 124.5 kB / 492 MB, free: 1.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3031, allocations: 1.012 MB / 493 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.043e-05/0.3032, allocations: 126.8 kB / 493.2 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.3033, allocations: 135.4 kB / 493.3 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.3034, allocations: 28.5 kB / 493.3 MB, free: 0.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3034, allocations: 4 kB / 493.3 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of Templates: time 0.04662/0.35, allocations: 50.86 MB / 0.5314 GB, free: 13.77 MB / 426.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.05912022292614]