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.001444/0.001444, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001614/0.001614, allocations: 212.5 kB / 24.52 MB, free: 3.91 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.507/1.507, allocations: 207.7 MB / 235.4 MB, free: 9.766 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.3152/0.3152, allocations: 49.59 MB / 337.2 MB, free: 3.875 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="cs",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.002169/0.002169, allocations: 71.91 kB / 477.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1308, allocations: 62.42 MB / 0.5269 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3231/0.4539, allocations: 46.69 MB / 0.5725 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.4747, allocations: 15.38 MB / 0.5875 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.4752, allocations: 13.97 kB / 0.5875 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007898/0.476, allocations: 255.8 kB / 0.5878 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.4826, allocations: 2.357 MB / 0.5901 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.4931, allocations: 3.211 MB / 0.5932 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.4948, allocations: 0.8523 MB / 0.5941 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.4953, allocations: 246.4 kB / 0.5943 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.496, allocations: 353.8 kB / 0.5946 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.4966, allocations: 394.6 kB / 0.595 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.4967, allocations: 32.97 kB / 0.595 GB, free: 11.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.5131, allocations: 7.43 MB / 0.6023 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.5134, allocations: 99.28 kB / 0.6024 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.5139, allocations: 209.3 kB / 0.6026 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.5283, allocations: 4.592 MB / 0.6071 GB, free: 3.137 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5283, allocations: 4 kB / 0.6071 GB, free: 3.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5283, allocations: 0 / 0.6071 GB, free: 3.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.5283, allocations: 0 / 0.6071 GB, free: 3.133 MB / 446.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.003449/0.5317, allocations: 1.327 MB / 0.6084 GB, free: 1.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5318, allocations: 12.03 kB / 0.6084 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.934e-05/0.5318, allocations: 12.83 kB / 0.6084 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.784e-05/0.5319, allocations: 74.72 kB / 0.6085 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/0.5328, allocations: 148.5 kB / 0.6086 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.5334, allocations: 304.5 kB / 0.6089 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.5334, allocations: 33.2 kB / 0.6089 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.5335, allocations: 40.56 kB / 0.609 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5345, allocations: 0.5548 MB / 0.6095 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.5345, allocations: 7.938 kB / 0.6095 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.5345, allocations: 12 kB / 0.6095 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.5346, allocations: 11.94 kB / 0.6095 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.5353, allocations: 369.7 kB / 0.6099 GB, free: 92 kB / 446.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.002326/0.5376, allocations: 1.735 MB / 0.6116 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.5382, allocations: 321.8 kB / 0.6119 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.5385, allocations: 192.2 kB / 0.6121 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06073/0.5992, allocations: 16.9 MB / 0.6286 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007806/0.6, allocations: 378 kB / 0.6289 GB, free: 12.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.6, allocations: 0 / 0.6289 GB, free: 12.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004234/0.6042, allocations: 1.717 MB / 0.6306 GB, free: 10.58 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6043, allocations: 144.4 kB / 0.6308 GB, free: 10.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.6049, allocations: 398 kB / 0.6311 GB, free: 10.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.6049, allocations: 29.7 kB / 0.6312 GB, free: 9.973 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.6052, allocations: 248.5 kB / 0.6314 GB, free: 9.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.6053, allocations: 115 kB / 0.6315 GB, free: 9.613 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6054, allocations: 78.02 kB / 0.6316 GB, free: 9.531 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6056, allocations: 358.8 kB / 0.6319 GB, free: 9.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.6059, allocations: 204 kB / 0.6321 GB, free: 8.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.6063, allocations: 300.9 kB / 0.6324 GB, free: 8.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.607, allocations: 478.7 kB / 0.6329 GB, free: 8.102 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.607, allocations: 0 / 0.6329 GB, free: 8.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001488/0.6085, allocations: 0.6964 MB / 0.6335 GB, free: 7.367 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.6086, allocations: 71.33 kB / 0.6336 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6086, allocations: 4 kB / 0.6336 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.6101, allocations: 166.9 kB / 0.6338 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.6103, allocations: 59.91 kB / 0.6338 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.6115, allocations: 1.128 MB / 0.6349 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.6118, allocations: 8.5 kB / 0.6349 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-05/0.6118, allocations: 20 kB / 0.635 GB, free: 5.848 MB / 478.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.0004231/0.6122, allocations: 253.3 kB / 0.6352 GB, free: 5.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6124, allocations: 59.61 kB / 0.6353 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.6149, allocations: 1.688 MB / 0.6369 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.615, allocations: 23.91 kB / 0.6369 GB, free: 3.777 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.615, allocations: 4 kB / 0.6369 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.615, allocations: 0 / 0.6369 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.6158, allocations: 0.6768 MB / 0.6376 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6158, allocations: 0 / 0.6376 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.6161, allocations: 35.98 kB / 0.6376 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006696/0.6167, allocations: 260.2 kB / 0.6379 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.6168, allocations: 11.94 kB / 0.6379 GB, free: 2.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.618, allocations: 1.363 MB / 0.6392 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.618, allocations: 0 / 0.6392 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.6204, allocations: 1.876 MB / 0.6411 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.6207, allocations: 107.4 kB / 0.6412 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/0.6207, allocations: 8 kB / 0.6412 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.6209, allocations: 20.14 kB / 0.6412 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.621, allocations: 24.7 kB / 0.6412 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.621, allocations: 19.98 kB / 0.6412 GB, free: 15.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003397/0.6214, allocations: 274.9 kB / 0.6415 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6214, allocations: 0 / 0.6415 GB, free: 14.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003511/0.6249, allocations: 1.123 MB / 0.6426 GB, free: 13.82 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.008363/0.6332, allocations: 3.5 MB / 0.646 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.6349, allocations: 0.8214 MB / 0.6468 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6349, allocations: 4 kB / 0.6468 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.6357, allocations: 0.5671 MB / 0.6474 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6368, allocations: 191.3 kB / 0.6475 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.6467, allocations: 5.628 MB / 0.653 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6471, allocations: 306.2 kB / 0.6533 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.6474, allocations: 103.2 kB / 0.6534 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.6477, allocations: 219.4 kB / 0.6536 GB, free: 2.094 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.6477, allocations: 0 / 0.6536 GB, free: 2.094 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09927/0.747, allocations: 48.43 MB / 0.7009 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.77, allocations: 7.953 kB / 0.7009 GB, free: 1.5 MB / 0.5294 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 & /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: 19.861697872984223] Failed to read output from testmodel.py, exit status != 0: 16.97881778201554 17.00659579 16.472421724 Calling exit ...