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.001102/0.001102, allocations: 106.6 kB / 16.51 MB, free: 6.707 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.001099/0.001099, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.176/1.176, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2339/0.2339, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.001279/0.001279, allocations: 72.09 kB / 389.5 MB, free: 49.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07145/0.07274, allocations: 59.17 MB / 448.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04325/0.116, allocations: 51.81 MB / 0.4887 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1323, allocations: 17.88 MB / 0.5062 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.1327, allocations: 15.94 kB / 0.5062 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.1333, allocations: 218.9 kB / 0.5064 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004217/0.1375, allocations: 1.931 MB / 0.5083 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.1437, allocations: 2.667 MB / 0.5109 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009837/0.1447, allocations: 1.207 MB / 0.5121 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.145, allocations: 260 kB / 0.5123 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.1453, allocations: 306.8 kB / 0.5126 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.1457, allocations: 374.5 kB / 0.513 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.1457, allocations: 20 kB / 0.513 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.1561, allocations: 7.429 MB / 0.5202 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.722e-05/0.1562, allocations: 87.69 kB / 0.5203 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1565, allocations: 242.7 kB / 0.5205 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005605/0.1621, allocations: 4.62 MB / 0.5251 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1621, allocations: 0 / 0.5251 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1621, allocations: 0 / 0.5251 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1621, allocations: 0 / 0.5251 GB, free: 0.8438 MB / 414.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.1407/0.3028, allocations: 1.363 MB / 0.5264 GB, free: 86.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3029, allocations: 9.875 kB / 0.5264 GB, free: 86.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.303, allocations: 72.31 kB / 0.5265 GB, free: 86.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.304, allocations: 151.1 kB / 0.5266 GB, free: 86.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3044, allocations: 354.1 kB / 0.5269 GB, free: 85.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3044, allocations: 28.69 kB / 0.527 GB, free: 85.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.3045, allocations: 33.42 kB / 0.527 GB, free: 85.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.3052, allocations: 484.6 kB / 0.5275 GB, free: 85.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3052, allocations: 5.156 kB / 0.5275 GB, free: 85.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.3052, allocations: 15.72 kB / 0.5275 GB, free: 85.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3052, allocations: 8.219 kB / 0.5275 GB, free: 85.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.3058, allocations: 310.8 kB / 0.5278 GB, free: 85.71 MB / 414.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.001675/0.3075, allocations: 2.5 MB / 0.5302 GB, free: 83.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.308, allocations: 280 kB / 0.5305 GB, free: 83.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.3082, allocations: 152.4 kB / 0.5306 GB, free: 83.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05137/0.3595, allocations: 32.46 MB / 0.5623 GB, free: 60.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.3601, allocations: 308.6 kB / 0.5626 GB, free: 60.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.385e-06/0.3601, allocations: 0 / 0.5626 GB, free: 60.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00309/0.3632, allocations: 1.7 MB / 0.5643 GB, free: 58.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3633, allocations: 140.1 kB / 0.5644 GB, free: 58.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.3636, allocations: 405.5 kB / 0.5648 GB, free: 58.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3636, allocations: 33.64 kB / 0.5648 GB, free: 58.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3637, allocations: 242.6 kB / 0.5651 GB, free: 58.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.3638, allocations: 114.1 kB / 0.5652 GB, free: 58.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.3639, allocations: 76.73 kB / 0.5653 GB, free: 58.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.3639, allocations: 350.6 kB / 0.5656 GB, free: 57.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3641, allocations: 143.7 kB / 0.5657 GB, free: 57.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3643, allocations: 211.9 kB / 0.5659 GB, free: 57.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.3647, allocations: 464.5 kB / 0.5664 GB, free: 57.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3647, allocations: 0 / 0.5664 GB, free: 57.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008093/0.3655, allocations: 0.6259 MB / 0.567 GB, free: 56.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.3656, allocations: 67.39 kB / 0.5671 GB, free: 56.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3656, allocations: 4 kB / 0.5671 GB, free: 56.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3667, allocations: 171.1 kB / 0.5672 GB, free: 56.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.3669, allocations: 58.7 kB / 0.5673 GB, free: 56.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005883/0.3675, allocations: 1.132 MB / 0.5684 GB, free: 55.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.3678, allocations: 27.92 kB / 0.5684 GB, free: 55.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3678, allocations: 24.09 kB / 0.5684 GB, free: 55.42 MB / 414.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.0001814/0.368, allocations: 250.9 kB / 0.5687 GB, free: 55.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.3681, allocations: 54.25 kB / 0.5687 GB, free: 55.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3695, allocations: 1.58 MB / 0.5703 GB, free: 53.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3695, allocations: 22.59 kB / 0.5703 GB, free: 53.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3695, allocations: 0 / 0.5703 GB, free: 53.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3695, allocations: 3.938 kB / 0.5703 GB, free: 53.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.37, allocations: 0.7347 MB / 0.571 GB, free: 52.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.37, allocations: 0 / 0.571 GB, free: 52.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3702, allocations: 46.28 kB / 0.5711 GB, free: 52.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005549/0.3708, allocations: 368.2 kB / 0.5714 GB, free: 52.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3708, allocations: 17.08 kB / 0.5714 GB, free: 52.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005655/0.3714, allocations: 1.34 MB / 0.5727 GB, free: 50.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3714, allocations: 0 / 0.5727 GB, free: 50.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3728, allocations: 1.707 MB / 0.5744 GB, free: 49.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.373, allocations: 184.1 kB / 0.5746 GB, free: 48.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.373, allocations: 12 kB / 0.5746 GB, free: 48.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3732, allocations: 27.92 kB / 0.5746 GB, free: 48.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.3733, allocations: 23.97 kB / 0.5746 GB, free: 48.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.3733, allocations: 23.66 kB / 0.5747 GB, free: 48.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.3735, allocations: 281.8 kB / 0.5749 GB, free: 48.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3735, allocations: 0 / 0.5749 GB, free: 48.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002103/0.3757, allocations: 1.103 MB / 0.576 GB, free: 47.61 MB / 414.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.00543/0.3811, allocations: 3.318 MB / 0.5792 GB, free: 44.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008159/0.3819, allocations: 0.7549 MB / 0.58 GB, free: 43.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3819, allocations: 3.938 kB / 0.58 GB, free: 43.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004918/0.3824, allocations: 0.5956 MB / 0.5806 GB, free: 43.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.3833, allocations: 185.1 kB / 0.5807 GB, free: 42.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.3886, allocations: 5.54 MB / 0.5862 GB, free: 37.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.3888, allocations: 0.9213 MB / 0.5871 GB, free: 36.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.389, allocations: 99.16 kB / 0.5871 GB, free: 36.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.3892, allocations: 219.4 kB / 0.5874 GB, free: 35.97 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3892, allocations: 0 / 0.5874 GB, free: 35.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.4493, allocations: 46.85 MB / 0.6331 GB, free: 5.066 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.4496, allocations: 237 kB / 0.6333 GB, free: 4.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.709/4.159, allocations: 0 / 0.6333 GB, free: 4.809 MB / 430.1 MB (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)