Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.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.002371/0.002371, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002986/0.002986, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.35/1.35, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2706/0.2706, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") translateModel(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.725e-05, allocations: 2.312 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestExpansionTankIdeal): time 0.05777/0.0578, allocations: 46.37 MB / 399.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.07603, allocations: 11.4 MB / 410.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007463/0.07677, allocations: 19.81 kB / 410.9 MB, free: 9.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.07787, allocations: 317.8 kB / 411.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.07953, allocations: 0.6756 MB / 411.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01226/0.09179, allocations: 4.285 MB / 416.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.09477, allocations: 1.842 MB / 418 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008436/0.09562, allocations: 477.9 kB / 418.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.0971, allocations: 0.8844 MB / 419.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.09824, allocations: 0.6855 MB / 420 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.09838, allocations: 68 kB / 420.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/0.1108, allocations: 6.075 MB / 426.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000572/0.1114, allocations: 339 kB / 426.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.112, allocations: 339.2 kB / 426.8 MB, free: 9.777 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.1241, allocations: 5.331 MB / 432.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1241, allocations: 0 / 432.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1241, allocations: 0 / 432.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1242, allocations: 0 / 432.1 MB, free: 4.434 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004764/0.1289, allocations: 1.791 MB / 433.9 MB, free: 2.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.129, allocations: 8.031 kB / 433.9 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.1302, allocations: 335.8 kB / 434.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1314, allocations: 0.5337 MB / 434.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.1315, allocations: 50.38 kB / 434.8 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1316, allocations: 76.33 kB / 434.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1544/0.286, allocations: 1.809 MB / 436.7 MB, free: 91.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.286, allocations: 3 kB / 436.7 MB, free: 91.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.2861, allocations: 31.59 kB / 436.8 MB, free: 91.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.857e-05/0.2862, allocations: 42.75 kB / 436.8 MB, free: 91.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/0.2907, allocations: 1.53 MB / 438.3 MB, free: 91.51 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.2953, allocations: 2.244 MB / 440.6 MB, free: 90.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.2983, allocations: 1.004 MB / 441.6 MB, free: 90.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.2986, allocations: 179.9 kB / 441.8 MB, free: 90.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.166/0.4646, allocations: 33.64 MB / 475.4 MB, free: 59.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.4646, allocations: 41.89 kB / 475.4 MB, free: 59.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.655e-06/0.4646, allocations: 0 / 475.4 MB, free: 59.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.005924/0.4705, allocations: 1.736 MB / 477.2 MB, free: 58.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.4706, allocations: 55.91 kB / 477.2 MB, free: 58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.4711, allocations: 0.608 MB / 477.8 MB, free: 57.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.4712, allocations: 37.7 kB / 477.9 MB, free: 57.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.4714, allocations: 436.4 kB / 478.3 MB, free: 56.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.4716, allocations: 220.6 kB / 478.5 MB, free: 56.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.4719, allocations: 243.8 kB / 478.7 MB, free: 56.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.472, allocations: 0.5704 MB / 479.3 MB, free: 55.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.4726, allocations: 422.1 kB / 479.7 MB, free: 55.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/0.4733, allocations: 0.7651 MB / 480.5 MB, free: 54.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.4746, allocations: 0.9613 MB / 481.5 MB, free: 53.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4746, allocations: 0 / 481.5 MB, free: 53.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002791/0.4774, allocations: 1.61 MB / 483.1 MB, free: 51.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4774, allocations: 4 kB / 483.1 MB, free: 51.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4774, allocations: 4 kB / 483.1 MB, free: 51.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/0.4812, allocations: 1.495 MB / 484.6 MB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.4815, allocations: 67.91 kB / 484.6 MB, free: 50.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.4841, allocations: 1.916 MB / 486.6 MB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/0.4848, allocations: 67.55 kB / 486.6 MB, free: 48.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.4849, allocations: 71.92 kB / 486.7 MB, free: 48.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008524/0.4858, allocations: 0.5898 MB / 487.3 MB, free: 47.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007304/0.4865, allocations: 0.7683 MB / 488 MB, free: 46.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/0.4878, allocations: 0.9582 MB / 489 MB, free: 45.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.4878, allocations: 4 kB / 489 MB, free: 45.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.002711/0.4905, allocations: 1.57 MB / 490.6 MB, free: 44.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4905, allocations: 4 kB / 490.6 MB, free: 44.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4905, allocations: 4 kB / 490.6 MB, free: 44.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/0.4933, allocations: 1.381 MB / 492 MB, free: 42.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4936, allocations: 67.89 kB / 492 MB, free: 42.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.496, allocations: 1.888 MB / 493.9 MB, free: 40.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.4967, allocations: 63.61 kB / 494 MB, free: 40.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4968, allocations: 79.92 kB / 494.1 MB, free: 40.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (heater.fluidState[2].phase,heater.fluidState[1].phase,boiler.fluidState[2].phase,boiler.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0002801/0.4971, allocations: 300 kB / 494.4 MB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4973, allocations: 75.62 kB / 494.4 MB, free: 40.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.5013, allocations: 4.957 MB / 499.4 MB, free: 35.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.5013, allocations: 23.97 kB / 499.4 MB, free: 35.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5013, allocations: 0 / 499.4 MB, free: 35.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5013, allocations: 3.984 kB / 499.4 MB, free: 35.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.5028, allocations: 2.066 MB / 0.4897 GB, free: 33.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5028, allocations: 3.938 kB / 0.4897 GB, free: 33.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.5043, allocations: 223.5 kB / 0.4899 GB, free: 32.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006068/0.5049, allocations: 123.2 kB / 0.4901 GB, free: 32.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.5049, allocations: 15.98 kB / 0.4901 GB, free: 32.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.5071, allocations: 5.363 MB / 0.4953 GB, free: 26.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5071, allocations: 3.938 kB / 0.4953 GB, free: 26.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.5093, allocations: 1.563 MB / 0.4968 GB, free: 25.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.5097, allocations: 167 kB / 0.497 GB, free: 25.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.5098, allocations: 12 kB / 0.497 GB, free: 25.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.5103, allocations: 23.98 kB / 0.497 GB, free: 25.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.5104, allocations: 44.56 kB / 0.4971 GB, free: 25.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.5105, allocations: 19.98 kB / 0.4971 GB, free: 25.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000323/0.5108, allocations: 390.8 kB / 0.4975 GB, free: 24.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5108, allocations: 0 / 0.4975 GB, free: 24.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002894/0.5137, allocations: 1.228 MB / 0.4987 GB, free: 23.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (boiler.p,boiler.htilde[1],heater.p,heater.htilde[1]) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.003333/0.517, allocations: 1.099 MB / 0.4997 GB, free: 22.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.5203, allocations: 1.714 MB / 0.5014 GB, free: 20.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5203, allocations: 0 / 0.5014 GB, free: 20.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.5221, allocations: 0.8454 MB / 0.5022 GB, free: 19.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5235, allocations: 282.1 kB / 0.5025 GB, free: 19.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.5261, allocations: 1.917 MB / 0.5044 GB, free: 17.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5264, allocations: 473.4 kB / 0.5048 GB, free: 17.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004896/0.5269, allocations: 188.7 kB / 0.505 GB, free: 17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5271, allocations: 56.47 kB / 0.5051 GB, free: 16.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5271, allocations: 0 / 0.5051 GB, free: 16.94 MB / 362.7 MB Notification: Performance of Templates: time 0.0803/0.6074, allocations: 54.82 MB / 0.5586 GB, free: 9.867 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestExpansionTankIdeal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.185239776968956]