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.0009887/0.0009887, allocations: 96.31 kB / 16.3 MB, free: 5.539 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.00101/0.00101, allocations: 180.9 kB / 17.19 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3254/0.3254, allocations: 48.77 MB / 320.4 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.0007158/0.0007162, allocations: 15.92 kB / 391.2 MB, free: 50.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1318, allocations: 60.27 MB / 451.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.0452/0.1771, allocations: 42.8 MB / 494.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01745/0.1946, allocations: 14.54 MB / 0.4969 GB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006221/0.1953, allocations: 7.938 kB / 0.4969 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008134/0.1961, allocations: 207.2 kB / 0.4971 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006788/0.2029, allocations: 1.843 MB / 0.4989 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.2153, allocations: 2.594 MB / 0.5014 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.2169, allocations: 0.5267 MB / 0.502 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.2176, allocations: 238.6 kB / 0.5022 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.2183, allocations: 259.1 kB / 0.5024 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.2188, allocations: 259 kB / 0.5027 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.2188, allocations: 16 kB / 0.5027 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02335/0.2422, allocations: 7.257 MB / 0.5098 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.2425, allocations: 75.69 kB / 0.5099 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.2429, allocations: 121.5 kB / 0.51 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2537, allocations: 3.021 MB / 0.5129 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2537, allocations: 0 / 0.5129 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.2538, allocations: 0 / 0.5129 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2538, allocations: 0 / 0.5129 GB, free: 15.58 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.00559/0.2594, allocations: 1.281 MB / 0.5142 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.753e-05/0.2595, allocations: 12.03 kB / 0.5142 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.2597, allocations: 70.53 kB / 0.5142 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.2617, allocations: 151.2 kB / 0.5144 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/0.2626, allocations: 341.1 kB / 0.5147 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.2626, allocations: 32.64 kB / 0.5147 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2628, allocations: 36 kB / 0.5148 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2643, allocations: 471 kB / 0.5152 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2644, allocations: 0 / 0.5152 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.2645, allocations: 20 kB / 0.5153 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.2645, allocations: 11.98 kB / 0.5153 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2657, allocations: 310.2 kB / 0.5156 GB, free: 12.72 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.004055/0.2698, allocations: 2.506 MB / 0.518 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.2709, allocations: 278.9 kB / 0.5183 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3476/0.6186, allocations: 32.77 MB / 0.5503 GB, free: 68.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/0.6195, allocations: 302 kB / 0.5506 GB, free: 68.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 4.168e-06/0.6196, allocations: 0.9062 kB / 0.5506 GB, free: 68.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004545/0.6241, allocations: 1.861 MB / 0.5524 GB, free: 67.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.6242, allocations: 138.3 kB / 0.5525 GB, free: 67.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.6249, allocations: 402.1 kB / 0.5529 GB, free: 67.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.6249, allocations: 34.67 kB / 0.5529 GB, free: 67.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.6252, allocations: 233.7 kB / 0.5531 GB, free: 67.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.6253, allocations: 123.2 kB / 0.5533 GB, free: 67.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.6253, allocations: 5.906 kB / 0.5533 GB, free: 67.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6255, allocations: 357.5 kB / 0.5536 GB, free: 66.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.6258, allocations: 134.1 kB / 0.5537 GB, free: 66.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/0.6261, allocations: 210.6 kB / 0.5539 GB, free: 66.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.6264, allocations: 210.4 kB / 0.5541 GB, free: 66.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6264, allocations: 1 kB / 0.5541 GB, free: 66.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001369/0.6278, allocations: 0.6207 MB / 0.5547 GB, free: 66.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.6279, allocations: 71.67 kB / 0.5548 GB, free: 66.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6279, allocations: 6.234 kB / 0.5548 GB, free: 66.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.6294, allocations: 158.5 kB / 0.555 GB, free: 66.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.6297, allocations: 57.91 kB / 0.555 GB, free: 66.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007653/0.6305, allocations: 1.137 MB / 0.5561 GB, free: 65.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.6309, allocations: 37.69 kB / 0.5562 GB, free: 65.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.631, allocations: 17.62 kB / 0.5562 GB, free: 65.12 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 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003423/0.6313, allocations: 241 kB / 0.5564 GB, free: 64.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6315, allocations: 53.14 kB / 0.5565 GB, free: 64.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.6335, allocations: 1.591 MB / 0.558 GB, free: 64.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.6336, allocations: 19.91 kB / 0.558 GB, free: 64.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.6336, allocations: 0 / 0.558 GB, free: 64.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6336, allocations: 3.984 kB / 0.558 GB, free: 64.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.6344, allocations: 0.7305 MB / 0.5588 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.6344, allocations: 0 / 0.5588 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.6347, allocations: 42.48 kB / 0.5588 GB, free: 63.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007461/0.6354, allocations: 375.3 kB / 0.5592 GB, free: 63.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.6355, allocations: 14.53 kB / 0.5592 GB, free: 63.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.6362, allocations: 1.341 MB / 0.5605 GB, free: 62.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6363, allocations: 0 / 0.5605 GB, free: 62.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6381, allocations: 1.699 MB / 0.5621 GB, free: 61.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.6384, allocations: 187.6 kB / 0.5623 GB, free: 60.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.6385, allocations: 15.94 kB / 0.5623 GB, free: 60.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.6387, allocations: 23.83 kB / 0.5624 GB, free: 60.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.6388, allocations: 19.88 kB / 0.5624 GB, free: 60.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.6388, allocations: 20.88 kB / 0.5624 GB, free: 60.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.6391, allocations: 281.9 kB / 0.5627 GB, free: 60.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6391, allocations: 0 / 0.5627 GB, free: 60.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003436/0.6426, allocations: 1.102 MB / 0.5637 GB, free: 60.63 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007294/0.6499, allocations: 3.327 MB / 0.567 GB, free: 58.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.6512, allocations: 0.7336 MB / 0.5677 GB, free: 57.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6512, allocations: 0 / 0.5677 GB, free: 57.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.6519, allocations: 0.599 MB / 0.5683 GB, free: 56.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6531, allocations: 173.6 kB / 0.5685 GB, free: 56.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008132/0.6613, allocations: 5.091 MB / 0.5734 GB, free: 51.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.6617, allocations: 0.9295 MB / 0.5743 GB, free: 50.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.662, allocations: 105.7 kB / 0.5744 GB, free: 50.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.6623, allocations: 215.4 kB / 0.5746 GB, free: 50.38 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6623, allocations: 0 / 0.5746 GB, free: 50.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07424/0.7365, allocations: 47.06 MB / 0.6206 GB, free: 3.262 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.7368, allocations: 226.8 kB / 0.6208 GB, free: 3.008 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.984/6.721, allocations: 4 kB / 0.6208 GB, free: 3.004 MB / 414.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/linux/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) Environment - environmentSimulation: