Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.001388/0.001388, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002209/0.002209, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 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.659/1.659, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 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.3916/0.3916, allocations: 49.56 MB / 336.3 MB, free: 4.113 MB / 270.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 71.91 kB / 476.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1517, allocations: 62.42 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.4085/0.5602, allocations: 51.75 MB / 0.5767 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02645/0.5866, allocations: 17.31 MB / 0.5936 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008402/0.5875, allocations: 8.469 kB / 0.5936 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.5885, allocations: 269.4 kB / 0.5938 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008424/0.597, allocations: 2.391 MB / 0.5962 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.6106, allocations: 3.262 MB / 0.5994 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.6128, allocations: 0.8528 MB / 0.6002 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006348/0.6134, allocations: 239.6 kB / 0.6004 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000743/0.6141, allocations: 350 kB / 0.6007 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.6149, allocations: 397.7 kB / 0.6011 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.6149, allocations: 33.38 kB / 0.6012 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.6351, allocations: 7.575 MB / 0.6086 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.6354, allocations: 98.3 kB / 0.6087 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.6359, allocations: 257.2 kB / 0.6089 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01522/0.6512, allocations: 4.623 MB / 0.6134 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.6512, allocations: 0 / 0.6134 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6512, allocations: 0 / 0.6134 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.6512, allocations: 0 / 0.6134 GB, free: 12.64 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004315/0.6555, allocations: 1.331 MB / 0.6147 GB, free: 11.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6555, allocations: 12.03 kB / 0.6147 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.6556, allocations: 70.72 kB / 0.6148 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6567, allocations: 152.5 kB / 0.6149 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.6573, allocations: 301 kB / 0.6152 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/0.6574, allocations: 29.03 kB / 0.6152 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.6575, allocations: 36.38 kB / 0.6153 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.6584, allocations: 488.4 kB / 0.6157 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.6584, allocations: 4 kB / 0.6158 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.6585, allocations: 16 kB / 0.6158 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.6585, allocations: 8 kB / 0.6158 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006698/0.6592, allocations: 310 kB / 0.6161 GB, free: 9.797 MB / 462.1 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.003368/0.6625, allocations: 2.46 MB / 0.6185 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.6632, allocations: 254.5 kB / 0.6187 GB, free: 6.828 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.6634, allocations: 132.8 kB / 0.6188 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06088/0.7243, allocations: 16.84 MB / 0.6353 GB, free: 5.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008201/0.7251, allocations: 310.7 kB / 0.6356 GB, free: 5.504 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.7251, allocations: 0 / 0.6356 GB, free: 5.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003985/0.7291, allocations: 1.57 MB / 0.6371 GB, free: 3.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7292, allocations: 144.5 kB / 0.6373 GB, free: 3.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.7298, allocations: 397.9 kB / 0.6376 GB, free: 3.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.7298, allocations: 37.7 kB / 0.6377 GB, free: 3.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.73, allocations: 252.5 kB / 0.6379 GB, free: 2.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.7301, allocations: 111 kB / 0.638 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.7303, allocations: 78.02 kB / 0.6381 GB, free: 2.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.7305, allocations: 354.8 kB / 0.6384 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.7307, allocations: 144.7 kB / 0.6386 GB, free: 2.297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.731, allocations: 215.8 kB / 0.6388 GB, free: 2.059 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.7316, allocations: 466.2 kB / 0.6392 GB, free: 1.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7316, allocations: 0 / 0.6392 GB, free: 1.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001142/0.7328, allocations: 0.6227 MB / 0.6398 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/0.7329, allocations: 75.33 kB / 0.6399 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7329, allocations: 4 kB / 0.6399 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.7342, allocations: 157.2 kB / 0.6401 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.7344, allocations: 59.91 kB / 0.6401 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.7355, allocations: 1.136 MB / 0.6412 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.7357, allocations: 8.156 kB / 0.6412 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.7358, allocations: 27.98 kB / 0.6413 GB, free: 15.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.7361, allocations: 245.1 kB / 0.6415 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.7362, allocations: 47.72 kB / 0.6415 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.7385, allocations: 1.618 MB / 0.6431 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.7385, allocations: 23.91 kB / 0.6431 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7385, allocations: 0 / 0.6431 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7385, allocations: 4 kB / 0.6431 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008419/0.7393, allocations: 0.7157 MB / 0.6438 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.7393, allocations: 3.984 kB / 0.6438 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.7396, allocations: 39.92 kB / 0.6439 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.7402, allocations: 256.3 kB / 0.6441 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.7402, allocations: 12.88 kB / 0.6441 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.7414, allocations: 1.371 MB / 0.6455 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7414, allocations: 3.984 kB / 0.6455 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.7439, allocations: 1.74 MB / 0.6472 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.7442, allocations: 107.4 kB / 0.6473 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-05/0.7442, allocations: 12 kB / 0.6473 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.7444, allocations: 18.86 kB / 0.6473 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/0.7445, allocations: 19.97 kB / 0.6473 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.7445, allocations: 15.98 kB / 0.6473 GB, free: 8.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.7449, allocations: 279.1 kB / 0.6476 GB, free: 8.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7449, allocations: 0 / 0.6476 GB, free: 8.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00371/0.7486, allocations: 1.127 MB / 0.6487 GB, free: 7.555 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008287/0.7569, allocations: 3.356 MB / 0.652 GB, free: 4.145 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.7584, allocations: 0.6821 MB / 0.6527 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7584, allocations: 4 kB / 0.6527 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.7591, allocations: 0.5052 MB / 0.6532 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.7601, allocations: 209 kB / 0.6534 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.7694, allocations: 5.271 MB / 0.6585 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.77, allocations: 0.9151 MB / 0.6594 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.7703, allocations: 87.19 kB / 0.6595 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.7705, allocations: 215.4 kB / 0.6597 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.7705, allocations: 7.938 kB / 0.6597 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/0.8861, allocations: 48.31 MB / 0.7069 GB, free: 11.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.55, allocations: 4 kB / 0.7069 GB, free: 11.58 MB / 0.545 GB " [Timeout remaining time 643] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.120608476001507] Failed to read output from testmodel.py, exit status != 0: 16.70355920399743 16.721831773 16.066366098 Calling exit ...