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.001266/0.001266, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001352/0.001352, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.314/1.314, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 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.2879/0.2879, allocations: 49.56 MB / 337.1 MB, free: 4.199 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.002051/0.002051, allocations: 67.91 kB / 477.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1091, allocations: 62.42 MB / 0.5269 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2515/0.3606, allocations: 51.76 MB / 0.5774 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02023/0.3808, allocations: 17.3 MB / 0.5943 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.3812, allocations: 13.28 kB / 0.5944 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.3819, allocations: 264.3 kB / 0.5946 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005703/0.3876, allocations: 2.389 MB / 0.5969 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008846/0.3965, allocations: 3.263 MB / 0.6001 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.3977, allocations: 0.8602 MB / 0.601 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.3982, allocations: 239.4 kB / 0.6012 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004808/0.3986, allocations: 353.5 kB / 0.6015 GB, free: 5.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.3991, allocations: 390.7 kB / 0.6019 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.3992, allocations: 32.91 kB / 0.6019 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/0.4135, allocations: 7.567 MB / 0.6093 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.4136, allocations: 103.5 kB / 0.6094 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.414, allocations: 247.4 kB / 0.6097 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.4251, allocations: 4.626 MB / 0.6142 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4251, allocations: 0 / 0.6142 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4251, allocations: 0 / 0.6142 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4251, allocations: 0 / 0.6142 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.003233/0.4283, allocations: 1.338 MB / 0.6155 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4284, allocations: 8.031 kB / 0.6155 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.238e-05/0.4284, allocations: 8.844 kB / 0.6155 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.282e-05/0.4285, allocations: 70.72 kB / 0.6156 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.4294, allocations: 160.4 kB / 0.6157 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.4299, allocations: 304.5 kB / 0.616 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.43, allocations: 25.72 kB / 0.616 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.43, allocations: 35.94 kB / 0.6161 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.431, allocations: 484.6 kB / 0.6165 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.431, allocations: 3.938 kB / 0.6165 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.431, allocations: 12 kB / 0.6165 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.431, allocations: 8 kB / 0.6166 GB, free: 10.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.4317, allocations: 306.3 kB / 0.6168 GB, free: 9.781 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.002605/0.4343, allocations: 2.466 MB / 0.6192 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.4349, allocations: 264 kB / 0.6195 GB, free: 6.805 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.4351, allocations: 128.8 kB / 0.6196 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05996/0.495, allocations: 16.84 MB / 0.6361 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.4958, allocations: 310.7 kB / 0.6364 GB, free: 5.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/0.4958, allocations: 0 / 0.6364 GB, free: 5.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003956/0.4997, allocations: 1.574 MB / 0.6379 GB, free: 3.836 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.4998, allocations: 148.4 kB / 0.638 GB, free: 3.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.5003, allocations: 394 kB / 0.6384 GB, free: 3.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.5003, allocations: 33.7 kB / 0.6384 GB, free: 3.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.5005, allocations: 248.4 kB / 0.6387 GB, free: 2.977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5006, allocations: 115 kB / 0.6388 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.5007, allocations: 74.02 kB / 0.6389 GB, free: 2.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5009, allocations: 358.8 kB / 0.6392 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.5011, allocations: 137.7 kB / 0.6393 GB, free: 2.293 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.5014, allocations: 215.7 kB / 0.6395 GB, free: 2.055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.5021, allocations: 470.2 kB / 0.64 GB, free: 1.543 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5021, allocations: 0 / 0.64 GB, free: 1.543 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001095/0.5031, allocations: 0.6227 MB / 0.6406 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.5032, allocations: 75.33 kB / 0.6407 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5032, allocations: 0 / 0.6407 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5044, allocations: 172.8 kB / 0.6408 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5047, allocations: 59.91 kB / 0.6409 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.5057, allocations: 1.132 MB / 0.642 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.5059, allocations: 15.94 kB / 0.642 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/0.506, allocations: 19.94 kB / 0.642 GB, free: 15.36 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.0002936/0.5063, allocations: 245.1 kB / 0.6423 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.5064, allocations: 51.77 kB / 0.6423 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.5086, allocations: 1.622 MB / 0.6439 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.5086, allocations: 23.91 kB / 0.6439 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5086, allocations: 0 / 0.6439 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5086, allocations: 0.875 kB / 0.6439 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.5094, allocations: 0.7157 MB / 0.6446 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5094, allocations: 4 kB / 0.6446 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.5097, allocations: 43.97 kB / 0.6447 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000639/0.5103, allocations: 255.8 kB / 0.6449 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.5103, allocations: 16 kB / 0.6449 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.5115, allocations: 1.359 MB / 0.6463 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5115, allocations: 0 / 0.6463 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.5138, allocations: 1.744 MB / 0.648 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.514, allocations: 111.3 kB / 0.6481 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.5141, allocations: 12 kB / 0.6481 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.5143, allocations: 11.98 kB / 0.6481 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.5143, allocations: 23.97 kB / 0.6481 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.5144, allocations: 15.98 kB / 0.6481 GB, free: 8.941 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.5147, allocations: 283.1 kB / 0.6484 GB, free: 8.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5147, allocations: 4 kB / 0.6484 GB, free: 8.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003092/0.5178, allocations: 1.115 MB / 0.6495 GB, free: 7.543 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.007439/0.5252, allocations: 3.36 MB / 0.6528 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.5265, allocations: 0.686 MB / 0.6534 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5265, allocations: 0 / 0.6534 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.5272, allocations: 0.5052 MB / 0.6539 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5283, allocations: 197.2 kB / 0.6541 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008348/0.5366, allocations: 5.283 MB / 0.6593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.5372, allocations: 0.9112 MB / 0.6602 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.5375, allocations: 91.19 kB / 0.6603 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5377, allocations: 219.4 kB / 0.6605 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.5377, allocations: 3.938 kB / 0.6605 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0914/0.6291, allocations: 48.35 MB / 0.7077 GB, free: 11.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.77, allocations: 12.06 kB / 0.7077 GB, free: 11.52 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.44998127699364] Failed to read output from testmodel.py, exit status != 0: 15.965050340048037 15.979850003 15.551575072 Calling exit ...