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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 110.8 kB / 17.06 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 200 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2755/0.2755, allocations: 48.84 MB / 320.1 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 80.06 kB / 450 MB, free: 9.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 59.16 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.274/0.3782, allocations: 50.95 MB / 0.547 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.3962, allocations: 17.12 MB / 0.5637 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006251/0.3969, allocations: 9.562 kB / 0.5637 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.3979, allocations: 269.6 kB / 0.564 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.4047, allocations: 2.37 MB / 0.5663 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.4148, allocations: 3.231 MB / 0.5695 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.4162, allocations: 0.8655 MB / 0.5703 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.4167, allocations: 291.8 kB / 0.5706 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.4173, allocations: 348 kB / 0.5709 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.4178, allocations: 364.4 kB / 0.5713 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.4179, allocations: 32.53 kB / 0.5713 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.4354, allocations: 7.525 MB / 0.5786 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.4357, allocations: 94.64 kB / 0.5787 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005773/0.4363, allocations: 260.3 kB / 0.579 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.4527, allocations: 4.601 MB / 0.5835 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4528, allocations: 1.719 kB / 0.5835 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4528, allocations: 4 kB / 0.5835 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.4528, allocations: 0 / 0.5835 GB, free: 15.53 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.004134/0.457, allocations: 1.36 MB / 0.5848 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.457, allocations: 18.88 kB / 0.5848 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.497e-05/0.4571, allocations: 73.28 kB / 0.5849 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4582, allocations: 149.8 kB / 0.585 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.4588, allocations: 358 kB / 0.5854 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.4588, allocations: 28.19 kB / 0.5854 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.4589, allocations: 31.97 kB / 0.5854 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.4598, allocations: 488.9 kB / 0.5859 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4599, allocations: 2.375 kB / 0.5859 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.4599, allocations: 17.47 kB / 0.5859 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4599, allocations: 9.766 kB / 0.5859 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.4606, allocations: 310.1 kB / 0.5862 GB, free: 13.53 MB / 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.002444/0.463, allocations: 2.507 MB / 0.5887 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.4636, allocations: 283 kB / 0.5889 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.4638, allocations: 154.1 kB / 0.5891 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06483/0.5286, allocations: 32.58 MB / 0.6209 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007634/0.5295, allocations: 302.8 kB / 0.6212 GB, free: 7.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.816e-06/0.5295, allocations: 0 / 0.6212 GB, free: 7.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004019/0.5335, allocations: 1.701 MB / 0.6229 GB, free: 5.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.5336, allocations: 140.5 kB / 0.623 GB, free: 5.332 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.5342, allocations: 409.7 kB / 0.6234 GB, free: 4.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.5342, allocations: 33.7 kB / 0.6234 GB, free: 4.887 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.5344, allocations: 236.2 kB / 0.6236 GB, free: 4.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.5345, allocations: 110.4 kB / 0.6238 GB, free: 4.543 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.5346, allocations: 77.94 kB / 0.6238 GB, free: 4.461 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5348, allocations: 358.8 kB / 0.6242 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.535, allocations: 136.7 kB / 0.6243 GB, free: 3.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.5352, allocations: 216.4 kB / 0.6245 GB, free: 3.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.5358, allocations: 470.2 kB / 0.625 GB, free: 3.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5358, allocations: 0 / 0.625 GB, free: 3.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001101/0.5369, allocations: 0.6231 MB / 0.6256 GB, free: 2.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.537, allocations: 79.23 kB / 0.6256 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.537, allocations: 0 / 0.6256 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.5384, allocations: 166.5 kB / 0.6258 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.5386, allocations: 67.91 kB / 0.6259 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009922/0.5396, allocations: 1.128 MB / 0.627 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.5399, allocations: 16.02 kB / 0.627 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.54, allocations: 20 kB / 0.627 GB, free: 1.035 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.0003024/0.5403, allocations: 248.9 kB / 0.6272 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.5404, allocations: 47.62 kB / 0.6273 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.5424, allocations: 1.583 MB / 0.6288 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.5425, allocations: 23.91 kB / 0.6288 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5425, allocations: 0 / 0.6288 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5425, allocations: 3.984 kB / 0.6289 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/0.5433, allocations: 0.736 MB / 0.6296 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5434, allocations: 0 / 0.6296 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.5436, allocations: 47.91 kB / 0.6296 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006149/0.5442, allocations: 248.3 kB / 0.6299 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.5443, allocations: 15.98 kB / 0.6299 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/0.5452, allocations: 1.335 MB / 0.6312 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5453, allocations: 0 / 0.6312 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.5473, allocations: 1.715 MB / 0.6328 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.5476, allocations: 180.1 kB / 0.633 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.529e-05/0.5477, allocations: 12 kB / 0.633 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5479, allocations: 12 kB / 0.633 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.5479, allocations: 19.97 kB / 0.6331 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.548, allocations: 19.98 kB / 0.6331 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.5483, allocations: 283.1 kB / 0.6333 GB, free: 10.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5483, allocations: 3.938 kB / 0.6334 GB, free: 10.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003343/0.5517, allocations: 1.109 MB / 0.6344 GB, free: 9.203 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.007864/0.5595, allocations: 3.325 MB / 0.6377 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.5609, allocations: 0.7441 MB / 0.6384 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5609, allocations: 0 / 0.6384 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.5617, allocations: 0.595 MB / 0.639 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5627, allocations: 193 kB / 0.6392 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008741/0.5715, allocations: 5.223 MB / 0.6443 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.572, allocations: 0.9111 MB / 0.6452 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.5723, allocations: 95.17 kB / 0.6453 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.5725, allocations: 223.3 kB / 0.6455 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5725, allocations: 3.938 kB / 0.6455 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09349/0.666, allocations: 47.82 MB / 0.6922 GB, free: 13.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.19, allocations: 3.938 kB / 0.6922 GB, free: 13.66 MB / 0.545 GB (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 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)