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.0009521/0.0009521, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009692/0.0009692, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8711/0.8711, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.1693/0.1693, allocations: 36.35 MB / 276.2 MB, free: 14.38 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.342e-06/1.342e-06, allocations: 0 / 355.1 MB, free: 62.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.598e-05, allocations: 2.969 kB / 355.1 MB, free: 62.64 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.0163/0.01632, allocations: 21.64 MB / 376.7 MB, free: 47.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02692, allocations: 14.39 MB / 391.1 MB, free: 34.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.02723, allocations: 11.94 kB / 391.1 MB, free: 34.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.02765, allocations: 134.9 kB / 391.2 MB, free: 34.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.02799, allocations: 266 kB / 391.5 MB, free: 34.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01267/0.04066, allocations: 6.566 MB / 398.1 MB, free: 27.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000631/0.04129, allocations: 0.6844 MB / 398.8 MB, free: 27.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.0416, allocations: 227.5 kB / 399 MB, free: 26.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/0.04188, allocations: 339.1 kB / 399.3 MB, free: 26.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.04207, allocations: 219.3 kB / 399.5 MB, free: 26.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.0421, allocations: 28 kB / 399.5 MB, free: 26.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009969/0.05207, allocations: 8.558 MB / 408.1 MB, free: 17.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.05216, allocations: 83.59 kB / 408.2 MB, free: 17.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.05235, allocations: 147.7 kB / 408.3 MB, free: 17.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009065/0.06142, allocations: 6.536 MB / 414.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.06142, allocations: 0 / 414.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.06142, allocations: 0 / 414.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.06143, allocations: 0 / 414.9 MB, free: 10.93 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.002393/0.06382, allocations: 1.334 MB / 416.2 MB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.06386, allocations: 8.031 kB / 416.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.06407, allocations: 100.6 kB / 416.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.06435, allocations: 280.4 kB / 416.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.06437, allocations: 21.03 kB / 416.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.06441, allocations: 36.38 kB / 416.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.0648, allocations: 372.2 kB / 417 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.06482, allocations: 3.938 kB / 417 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.06484, allocations: 12 kB / 417 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.06485, allocations: 8 kB / 417 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.06507, allocations: 152.4 kB / 417.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.06592, allocations: 1.412 MB / 418.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.06626, allocations: 166.9 kB / 418.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.0663, allocations: 43.92 kB / 418.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05223/0.1185, allocations: 29.22 MB / 448 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1186, allocations: 33.39 kB / 448 MB, free: 9.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.204e-06/0.1186, allocations: 0 / 448 MB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007816/0.1193, allocations: 330 kB / 448.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1194, allocations: 55.34 kB / 448.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1196, allocations: 330.1 kB / 448.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1196, allocations: 33.7 kB / 448.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1197, allocations: 263.1 kB / 449 MB, free: 8.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.1198, allocations: 71.42 kB / 449.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.1198, allocations: 55.34 kB / 449.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1199, allocations: 0.5156 MB / 449.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.12, allocations: 35.67 kB / 449.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.1201, allocations: 97.69 kB / 449.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1202, allocations: 143.7 kB / 449.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1202, allocations: 0 / 449.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003026/0.1205, allocations: 233.6 kB / 450.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1205, allocations: 4 kB / 450.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1205, allocations: 8.172 kB / 450.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.1208, allocations: 71.27 kB / 450.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1209, allocations: 43.97 kB / 450.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.1222, allocations: 2.567 MB / 452.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1223, allocations: 27.78 kB / 452.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1223, allocations: 4 kB / 452.9 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001007/0.1224, allocations: 158.8 kB / 453 MB, free: 4.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.58e-05/0.1225, allocations: 101.7 kB / 453.1 MB, free: 4.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001058/0.1226, allocations: 137.8 kB / 453.3 MB, free: 3.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.1226, allocations: 4 kB / 453.3 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002451/0.1228, allocations: 228.4 kB / 453.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.1228, allocations: 10.66 kB / 453.5 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.1228, allocations: 0 / 453.5 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.123, allocations: 79.48 kB / 453.6 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.1231, allocations: 47.91 kB / 453.6 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.1241, allocations: 2.559 MB / 456.2 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.1242, allocations: 23.84 kB / 456.2 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1242, allocations: 12.06 kB / 456.2 MB, free: 0.7969 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 0.0001125/0.1243, allocations: 280 kB / 456.5 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.1244, allocations: 31.8 kB / 456.5 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.1248, allocations: 0.5019 MB / 457 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1248, allocations: 11.98 kB / 457.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1248, allocations: 0 / 457.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1248, allocations: 0 / 457.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1251, allocations: 327.5 kB / 457.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1251, allocations: 4 kB / 457.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.1252, allocations: 47.91 kB / 457.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.1253, allocations: 27.61 kB / 457.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1253, allocations: 4 kB / 457.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008796/0.1262, allocations: 1.717 MB / 459.2 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1262, allocations: 3.938 kB / 459.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.1266, allocations: 0.5379 MB / 459.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.1266, allocations: 47.58 kB / 459.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1267, allocations: 4 kB / 459.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.1267, allocations: 8 kB / 459.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1268, allocations: 11.97 kB / 459.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1268, allocations: 15.88 kB / 459.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1269, allocations: 226.9 kB / 460 MB, free: 12.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1269, allocations: 0 / 460 MB, free: 12.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002706/0.1296, allocations: 1.372 MB / 461.4 MB, free: 11.44 MB / 378.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.004237/0.1338, allocations: 1.621 MB / 463 MB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006729/0.1345, allocations: 0.5919 MB / 463.6 MB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1345, allocations: 0 / 463.6 MB, free: 9.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1347, allocations: 271.4 kB / 463.9 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.1352, allocations: 127.5 kB / 464 MB, free: 8.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1366, allocations: 0.9917 MB / 465 MB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.1366, allocations: 126.7 kB / 465.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.1368, allocations: 139.5 kB / 465.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.137, allocations: 158.1 kB / 465.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.137, allocations: 4 kB / 465.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of Templates: time 0.1638/0.3008, allocations: 57.62 MB / 0.5108 GB, free: 124.4 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: 6.146394768264145]