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.000929/0.000929, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.0009526/0.0009526, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.157/1.157, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2355/0.2355, allocations: 48.85 MB / 319.6 MB, free: 11.26 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.00135/0.00135, allocations: 63.22 kB / 389.6 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07373/0.07509, allocations: 59.16 MB / 448.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04212/0.1172, allocations: 51 MB / 499.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01543/0.1327, allocations: 17.14 MB / 0.5048 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.1331, allocations: 11.94 kB / 0.5048 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006455/0.1338, allocations: 242.8 kB / 0.5051 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.1388, allocations: 2.114 MB / 0.5071 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006606/0.1454, allocations: 2.882 MB / 0.51 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009002/0.1463, allocations: 0.8523 MB / 0.5108 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.1467, allocations: 308.4 kB / 0.5111 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.1471, allocations: 342.7 kB / 0.5114 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.1475, allocations: 374.6 kB / 0.5118 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.1476, allocations: 32 kB / 0.5118 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/0.1577, allocations: 7.418 MB / 0.519 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.1578, allocations: 99.61 kB / 0.5191 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.158, allocations: 258.7 kB / 0.5194 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006318/0.1644, allocations: 4.624 MB / 0.5239 GB, free: 2.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1644, allocations: 0 / 0.5239 GB, free: 2.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1644, allocations: 0 / 0.5239 GB, free: 2.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1644, allocations: 0 / 0.5239 GB, free: 2.098 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.002457/0.1669, allocations: 1.359 MB / 0.5252 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1669, allocations: 19.89 kB / 0.5252 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.167, allocations: 70.72 kB / 0.5253 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008548/0.1678, allocations: 148.2 kB / 0.5254 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1682, allocations: 358 kB / 0.5258 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1682, allocations: 29.03 kB / 0.5258 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1375/0.3058, allocations: 35.56 kB / 0.5259 GB, free: 86.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009507/0.3068, allocations: 479.6 kB / 0.5263 GB, free: 86.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3068, allocations: 1.531 kB / 0.5263 GB, free: 86.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.3068, allocations: 16.42 kB / 0.5263 GB, free: 86.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3069, allocations: 8.781 kB / 0.5263 GB, free: 86.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.3075, allocations: 311 kB / 0.5266 GB, free: 86.53 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.001691/0.3092, allocations: 2.497 MB / 0.5291 GB, free: 84.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.3097, allocations: 280.4 kB / 0.5293 GB, free: 84.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3099, allocations: 149.2 kB / 0.5295 GB, free: 84.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05109/0.361, allocations: 32.45 MB / 0.5612 GB, free: 61.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.3615, allocations: 309.1 kB / 0.5615 GB, free: 60.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.845e-06/0.3615, allocations: 0 / 0.5615 GB, free: 60.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003136/0.3647, allocations: 1.706 MB / 0.5631 GB, free: 59.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.3647, allocations: 140.4 kB / 0.5633 GB, free: 59.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.365, allocations: 397.7 kB / 0.5636 GB, free: 59.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3651, allocations: 29.7 kB / 0.5637 GB, free: 59.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/0.3652, allocations: 244.4 kB / 0.5639 GB, free: 59.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.3652, allocations: 114.4 kB / 0.564 GB, free: 59.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.3653, allocations: 73.52 kB / 0.5641 GB, free: 59.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.242e-05/0.3654, allocations: 362.6 kB / 0.5644 GB, free: 58.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.3655, allocations: 127.3 kB / 0.5646 GB, free: 58.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3657, allocations: 217.1 kB / 0.5648 GB, free: 58.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.3661, allocations: 477.4 kB / 0.5652 GB, free: 58.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3661, allocations: 4 kB / 0.5652 GB, free: 58.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008308/0.367, allocations: 0.6177 MB / 0.5658 GB, free: 57.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.367, allocations: 69.39 kB / 0.5659 GB, free: 57.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.367, allocations: 2.688 kB / 0.5659 GB, free: 57.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.3681, allocations: 167 kB / 0.5661 GB, free: 57.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3684, allocations: 62.16 kB / 0.5661 GB, free: 57.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005853/0.369, allocations: 1.13 MB / 0.5672 GB, free: 56.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.3692, allocations: 43 kB / 0.5673 GB, free: 56.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3693, allocations: 16.28 kB / 0.5673 GB, free: 56.61 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.0001764/0.3694, allocations: 243.3 kB / 0.5675 GB, free: 56.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.3695, allocations: 47.53 kB / 0.5675 GB, free: 56.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3709, allocations: 1.59 MB / 0.5691 GB, free: 54.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.3709, allocations: 19.97 kB / 0.5691 GB, free: 54.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3709, allocations: 3.188 kB / 0.5691 GB, free: 54.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3709, allocations: 0 / 0.5691 GB, free: 54.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3714, allocations: 0.7409 MB / 0.5698 GB, free: 53.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3714, allocations: 3.938 kB / 0.5699 GB, free: 53.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.3716, allocations: 39.98 kB / 0.5699 GB, free: 53.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.3721, allocations: 255.2 kB / 0.5701 GB, free: 53.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.3721, allocations: 19.98 kB / 0.5702 GB, free: 53.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005425/0.3727, allocations: 1.326 MB / 0.5714 GB, free: 52.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3727, allocations: 12 kB / 0.5715 GB, free: 52.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.3741, allocations: 1.699 MB / 0.5731 GB, free: 50.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.3742, allocations: 184.1 kB / 0.5733 GB, free: 50.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.3743, allocations: 12.81 kB / 0.5733 GB, free: 50.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3745, allocations: 23.98 kB / 0.5733 GB, free: 50.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.3746, allocations: 30.72 kB / 0.5734 GB, free: 50.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.3746, allocations: 12 kB / 0.5734 GB, free: 50.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.3748, allocations: 283.1 kB / 0.5736 GB, free: 49.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3748, allocations: 0 / 0.5736 GB, free: 49.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002056/0.3769, allocations: 1.106 MB / 0.5747 GB, free: 48.94 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.00541/0.3823, allocations: 3.324 MB / 0.578 GB, free: 45.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009972/0.3833, allocations: 0.7686 MB / 0.5787 GB, free: 45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3833, allocations: 0 / 0.5787 GB, free: 45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.3838, allocations: 0.59 MB / 0.5793 GB, free: 44.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.3847, allocations: 191.4 kB / 0.5795 GB, free: 44.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.3903, allocations: 5.565 MB / 0.5849 GB, free: 38.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.3906, allocations: 0.915 MB / 0.5858 GB, free: 37.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.3908, allocations: 90.95 kB / 0.5859 GB, free: 37.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.391, allocations: 227.3 kB / 0.5861 GB, free: 37.29 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.391, allocations: 0 / 0.5861 GB, free: 37.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08425/0.4752, allocations: 47.34 MB / 0.6323 GB, free: 5.895 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.4755, allocations: 233.2 kB / 0.6326 GB, free: 5.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/4.237, allocations: 0 / 0.6326 GB, free: 5.641 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)