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.0009469/0.000947, allocations: 88.53 kB / 16.31 MB, free: 6.453 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.001111/0.00111, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.335/1.335, allocations: 205.4 MB / 223.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.388/0.388, allocations: 48.77 MB / 320.4 MB, free: 3.824 MB / 254.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.0005784/0.0005784, allocations: 12 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1006, allocations: 60.26 MB / 451.5 MB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2143/0.315, allocations: 47.36 MB / 498.9 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01617/0.3312, allocations: 15.95 MB / 0.5028 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.3319, allocations: 8.75 kB / 0.5028 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.3325, allocations: 206 kB / 0.503 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.339, allocations: 1.9 MB / 0.5048 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.3495, allocations: 2.49 MB / 0.5073 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.3514, allocations: 1.024 MB / 0.5083 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.3519, allocations: 230.8 kB / 0.5085 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.3525, allocations: 294.5 kB / 0.5088 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.353, allocations: 341.6 kB / 0.5091 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.353, allocations: 18.5 kB / 0.5091 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.3677, allocations: 7.015 MB / 0.516 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.3679, allocations: 89.61 kB / 0.516 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.3683, allocations: 123.1 kB / 0.5162 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006791/0.3751, allocations: 3.034 MB / 0.5191 GB, free: 13.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3751, allocations: 0 / 0.5191 GB, free: 13.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3751, allocations: 0 / 0.5191 GB, free: 13.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3751, allocations: 0 / 0.5191 GB, free: 13.22 MB / 398.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.003372/0.3785, allocations: 1.274 MB / 0.5204 GB, free: 11.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3786, allocations: 12.03 kB / 0.5204 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.652e-05/0.3787, allocations: 70.53 kB / 0.5205 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008548/0.3795, allocations: 159.2 kB / 0.5206 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.3799, allocations: 341.7 kB / 0.5209 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.38, allocations: 24.66 kB / 0.521 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.38, allocations: 39.94 kB / 0.521 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.3809, allocations: 480.3 kB / 0.5214 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3809, allocations: 4 kB / 0.5215 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.3809, allocations: 12 kB / 0.5215 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3809, allocations: 8 kB / 0.5215 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006024/0.3816, allocations: 310.3 kB / 0.5218 GB, free: 10.37 MB / 398.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.002307/0.3839, allocations: 2.509 MB / 0.5242 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.3845, allocations: 286.8 kB / 0.5245 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.3847, allocations: 149 kB / 0.5246 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05909/0.4438, allocations: 32.77 MB / 0.5566 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/0.4446, allocations: 307.5 kB / 0.5569 GB, free: 2.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.4446, allocations: 0 / 0.5569 GB, free: 2.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.003419/0.448, allocations: 1.717 MB / 0.5586 GB, free: 344 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.4481, allocations: 136.5 kB / 0.5587 GB, free: 176 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.4485, allocations: 398 kB / 0.5591 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.4486, allocations: 33.7 kB / 0.5591 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.4487, allocations: 244.1 kB / 0.5594 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.221e-05/0.4488, allocations: 106.5 kB / 0.5595 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.4489, allocations: 8 kB / 0.5595 GB, free: 15.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.449, allocations: 358.8 kB / 0.5598 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.4492, allocations: 132.7 kB / 0.56 GB, free: 14.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.4495, allocations: 211.7 kB / 0.5602 GB, free: 14.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.4498, allocations: 215.3 kB / 0.5604 GB, free: 14.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4498, allocations: 0 / 0.5604 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009836/0.4508, allocations: 0.6162 MB / 0.561 GB, free: 13.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.4508, allocations: 71.38 kB / 0.561 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4508, allocations: 0 / 0.561 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.4521, allocations: 160.4 kB / 0.5612 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.4523, allocations: 59.91 kB / 0.5612 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009216/0.4533, allocations: 1.132 MB / 0.5623 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.4536, allocations: 44.06 kB / 0.5624 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.4536, allocations: 15.94 kB / 0.5624 GB, free: 12.25 MB / 446.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.0002531/0.4539, allocations: 249.1 kB / 0.5626 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.454, allocations: 51.52 kB / 0.5627 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.456, allocations: 1.577 MB / 0.5642 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.456, allocations: 23.92 kB / 0.5643 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.456, allocations: 6 kB / 0.5643 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.456, allocations: 3.984 kB / 0.5643 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/0.4568, allocations: 0.7321 MB / 0.565 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4568, allocations: 0 / 0.565 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.457, allocations: 43.97 kB / 0.565 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006829/0.4577, allocations: 378.6 kB / 0.5654 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.4578, allocations: 15.98 kB / 0.5654 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009889/0.4588, allocations: 1.332 MB / 0.5667 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4588, allocations: 0 / 0.5667 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.4608, allocations: 1.703 MB / 0.5684 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.461, allocations: 184.1 kB / 0.5685 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.4611, allocations: 15.28 kB / 0.5685 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.4613, allocations: 31.92 kB / 0.5686 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.4614, allocations: 23.97 kB / 0.5686 GB, free: 5.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.4614, allocations: 15.98 kB / 0.5686 GB, free: 5.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.4618, allocations: 275.1 kB / 0.5689 GB, free: 5.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4618, allocations: 0 / 0.5689 GB, free: 5.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003743/0.4655, allocations: 1.109 MB / 0.57 GB, free: 4.305 MB / 446.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.007039/0.4726, allocations: 3.315 MB / 0.5732 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.4737, allocations: 0.7326 MB / 0.5739 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4738, allocations: 4 kB / 0.5739 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.4745, allocations: 0.599 MB / 0.5745 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009902/0.4755, allocations: 189.3 kB / 0.5747 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.4822, allocations: 3.906 MB / 0.5785 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.4827, allocations: 0.9151 MB / 0.5794 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.483, allocations: 93.12 kB / 0.5795 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.4833, allocations: 215.4 kB / 0.5797 GB, free: 10.16 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4833, allocations: 3.938 kB / 0.5797 GB, free: 10.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07883/0.5621, allocations: 47.1 MB / 0.6257 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.5625, allocations: 224 kB / 0.6259 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.394/4.957, allocations: 0 / 0.6259 GB, free: 10.8 MB / 0.4981 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/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: