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.001377/0.001377, allocations: 113.1 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.001629/0.001629, allocations: 216.3 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.418/1.418, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.3047/0.3047, allocations: 49.56 MB / 336.3 MB, free: 4.195 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.002433/0.002433, allocations: 71.89 kB / 476.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1214, allocations: 62.43 MB / 0.5261 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2722/0.3937, allocations: 51.75 MB / 0.5767 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.4142, allocations: 17.3 MB / 0.5936 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.4147, allocations: 9.406 kB / 0.5936 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000839/0.4156, allocations: 273.8 kB / 0.5938 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00618/0.4217, allocations: 2.383 MB / 0.5962 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01022/0.432, allocations: 3.268 MB / 0.5994 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.434, allocations: 0.8526 MB / 0.6002 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.4348, allocations: 243.1 kB / 0.6004 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009208/0.4357, allocations: 353.3 kB / 0.6008 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.4363, allocations: 394.3 kB / 0.6011 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.4364, allocations: 33.12 kB / 0.6012 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01681/0.4532, allocations: 7.568 MB / 0.6086 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.4534, allocations: 92.55 kB / 0.6086 GB, free: 1.359 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006017/0.454, allocations: 258.3 kB / 0.6089 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.4665, allocations: 4.623 MB / 0.6134 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4665, allocations: 0 / 0.6134 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4665, allocations: 3.938 kB / 0.6134 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.4666, 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.003422/0.47, allocations: 1.331 MB / 0.6147 GB, free: 11.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.47, allocations: 8.031 kB / 0.6147 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.293e-05/0.4701, allocations: 70.72 kB / 0.6148 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.4711, allocations: 156.4 kB / 0.6149 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.4718, allocations: 304.5 kB / 0.6152 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.4718, allocations: 25.91 kB / 0.6152 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.4719, allocations: 40.38 kB / 0.6153 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009455/0.4728, allocations: 486.9 kB / 0.6158 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4728, allocations: 0 / 0.6158 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.4729, allocations: 16 kB / 0.6158 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4729, allocations: 8 kB / 0.6158 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.4736, allocations: 310.3 kB / 0.6161 GB, free: 9.801 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.002992/0.4766, allocations: 2.46 MB / 0.6185 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.4772, allocations: 254.5 kB / 0.6187 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.4774, allocations: 133.4 kB / 0.6188 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05535/0.5328, allocations: 16.84 MB / 0.6353 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.5335, allocations: 306.8 kB / 0.6356 GB, free: 5.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.327e-06/0.5335, allocations: 0 / 0.6356 GB, free: 5.516 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004011/0.5375, allocations: 1.583 MB / 0.6371 GB, free: 3.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/0.5376, allocations: 136.5 kB / 0.6373 GB, free: 3.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.5382, allocations: 401.9 kB / 0.6376 GB, free: 3.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.5382, allocations: 37.7 kB / 0.6377 GB, free: 3.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.5384, allocations: 248.5 kB / 0.6379 GB, free: 2.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.5385, allocations: 115 kB / 0.638 GB, free: 2.879 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.5386, allocations: 78.02 kB / 0.6381 GB, free: 2.797 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5388, allocations: 354.8 kB / 0.6384 GB, free: 2.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.539, allocations: 136.7 kB / 0.6386 GB, free: 2.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.5393, allocations: 215.8 kB / 0.6388 GB, free: 2.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.5399, allocations: 466.2 kB / 0.6392 GB, free: 1.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5399, allocations: 0 / 0.6392 GB, free: 1.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00111/0.541, allocations: 0.6265 MB / 0.6398 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.5411, allocations: 71.33 kB / 0.6399 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5411, allocations: 5.562 kB / 0.6399 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.5423, allocations: 161.5 kB / 0.6401 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.5425, allocations: 55.91 kB / 0.6401 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.5436, allocations: 1.14 MB / 0.6412 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.5438, allocations: 19.78 kB / 0.6412 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.5439, allocations: 19.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.0002813/0.5441, allocations: 241.2 kB / 0.6415 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5443, allocations: 55.59 kB / 0.6415 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.5466, allocations: 1.618 MB / 0.6431 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.5466, allocations: 27.91 kB / 0.6431 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5466, allocations: 0 / 0.6431 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5466, allocations: 0 / 0.6431 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.5475, allocations: 0.7196 MB / 0.6439 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5475, allocations: 0 / 0.6439 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.5477, allocations: 43.92 kB / 0.6439 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.5483, allocations: 256.3 kB / 0.6441 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.5484, allocations: 16 kB / 0.6442 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.5495, allocations: 1.363 MB / 0.6455 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5495, allocations: 0 / 0.6455 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.5517, allocations: 1.732 MB / 0.6472 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.5519, allocations: 107.4 kB / 0.6473 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.552, allocations: 16.88 kB / 0.6473 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.5522, allocations: 11.98 kB / 0.6473 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.5522, allocations: 19.97 kB / 0.6473 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.5523, allocations: 19.98 kB / 0.6473 GB, free: 8.965 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003318/0.5526, allocations: 279.1 kB / 0.6476 GB, free: 8.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5526, allocations: 3.938 kB / 0.6476 GB, free: 8.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003059/0.5557, allocations: 1.123 MB / 0.6487 GB, free: 7.562 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.007614/0.5633, allocations: 3.358 MB / 0.652 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.5646, allocations: 0.686 MB / 0.6527 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5646, allocations: 4 kB / 0.6527 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007394/0.5653, allocations: 0.5129 MB / 0.6532 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5664, allocations: 194.4 kB / 0.6533 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/0.5752, allocations: 5.275 MB / 0.6585 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.5757, allocations: 0.9111 MB / 0.6594 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.576, allocations: 95.19 kB / 0.6595 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5763, allocations: 219.3 kB / 0.6597 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.5763, allocations: 0 / 0.6597 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/0.68, allocations: 48.32 MB / 0.7069 GB, free: 11.58 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.07, allocations: 8.062 kB / 0.7069 GB, free: 11.57 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.977570232003927] Failed to read output from testmodel.py, exit status != 0: 16.21621410502121 16.243100646 15.771477801 Calling exit ...