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: translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009992, allocations: 89.27 kB / 16.31 MB, free: 6.449 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.00111/0.00111, allocations: 180.5 kB / 17.21 MB, free: 6.32 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.64/1.64, allocations: 205.4 MB / 223.4 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4987/0.4987, allocations: 48.76 MB / 320.4 MB, free: 3.836 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.0005852/0.0005855, allocations: 18.66 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 60.26 MB / 451.4 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2712/0.4045, allocations: 47.36 MB / 498.8 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.4217, allocations: 15.94 MB / 0.5027 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.4225, allocations: 9.438 kB / 0.5027 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.4232, allocations: 201.3 kB / 0.5029 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006414/0.4297, allocations: 1.904 MB / 0.5047 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009281/0.439, allocations: 2.505 MB / 0.5072 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.4406, allocations: 1.025 MB / 0.5082 GB, free: 3.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.4411, allocations: 232.2 kB / 0.5084 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.4417, allocations: 295.2 kB / 0.5087 GB, free: 3.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.4421, allocations: 333.1 kB / 0.509 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.4422, allocations: 18.34 kB / 0.509 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/0.4576, allocations: 7.026 MB / 0.5159 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.4578, allocations: 78.73 kB / 0.516 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.4582, allocations: 122.4 kB / 0.5161 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008751/0.467, allocations: 3.031 MB / 0.519 GB, free: 13.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.467, allocations: 4 kB / 0.519 GB, free: 13.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.467, allocations: 0 / 0.519 GB, free: 13.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.467, allocations: 4 kB / 0.519 GB, free: 13.29 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.004269/0.4713, allocations: 1.285 MB / 0.5203 GB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4714, allocations: 8.031 kB / 0.5203 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.4723, allocations: 151.2 kB / 0.5204 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.4728, allocations: 339.3 kB / 0.5208 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.4728, allocations: 24.66 kB / 0.5208 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.4729, allocations: 36 kB / 0.5208 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.4737, allocations: 479 kB / 0.5213 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.4737, allocations: 11.89 kB / 0.5213 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.4738, allocations: 16 kB / 0.5213 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4738, allocations: 12 kB / 0.5213 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.4744, allocations: 302.3 kB / 0.5216 GB, free: 10.51 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.002591/0.477, allocations: 2.502 MB / 0.524 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.4776, allocations: 278.8 kB / 0.5243 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.4778, allocations: 155.9 kB / 0.5245 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05889/0.5367, allocations: 32.77 MB / 0.5565 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/0.5376, allocations: 299.5 kB / 0.5568 GB, free: 2.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=32): time 3.276e-06/0.5376, allocations: 0 / 0.5568 GB, free: 2.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.003924/0.5415, allocations: 1.718 MB / 0.5584 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.5416, allocations: 136.5 kB / 0.5586 GB, free: 336 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.5421, allocations: 405.8 kB / 0.5589 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5421, allocations: 33.7 kB / 0.559 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.5423, allocations: 240.2 kB / 0.5592 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.5424, allocations: 110.4 kB / 0.5593 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.5425, allocations: 8 kB / 0.5593 GB, free: 15.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5426, allocations: 350.8 kB / 0.5597 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.5428, allocations: 136.7 kB / 0.5598 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.5431, allocations: 219.7 kB / 0.56 GB, free: 14.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.5433, allocations: 207.3 kB / 0.5602 GB, free: 14.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5433, allocations: 0 / 0.5602 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009392/0.5443, allocations: 0.6201 MB / 0.5608 GB, free: 13.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.5444, allocations: 67.39 kB / 0.5609 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5444, allocations: 4 kB / 0.5609 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.5455, allocations: 165.8 kB / 0.561 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.5458, allocations: 55.91 kB / 0.5611 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009528/0.5468, allocations: 1.136 MB / 0.5622 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.547, allocations: 31.97 kB / 0.5622 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.5471, allocations: 16 kB / 0.5622 GB, free: 12.4 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.0003214/0.5474, allocations: 249.2 kB / 0.5625 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.5475, allocations: 47.44 kB / 0.5625 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.5494, allocations: 1.586 MB / 0.5641 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.5494, allocations: 15.97 kB / 0.5641 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5495, allocations: 7.891 kB / 0.5641 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5495, allocations: 0 / 0.5641 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007647/0.5502, allocations: 0.7398 MB / 0.5648 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5503, allocations: 0 / 0.5648 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.5505, allocations: 47.92 kB / 0.5649 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/0.5511, allocations: 372.4 kB / 0.5652 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.5512, allocations: 12 kB / 0.5652 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.5522, allocations: 1.339 MB / 0.5665 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5522, allocations: 0 / 0.5665 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.5543, allocations: 1.707 MB / 0.5682 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.5545, allocations: 180.1 kB / 0.5684 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.02e-05/0.5546, allocations: 12 kB / 0.5684 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.5548, allocations: 27.92 kB / 0.5684 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.5549, allocations: 23.97 kB / 0.5684 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.555, allocations: 16 kB / 0.5684 GB, free: 5.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003401/0.5553, allocations: 283.1 kB / 0.5687 GB, free: 5.559 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5553, allocations: 3.938 kB / 0.5687 GB, free: 5.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003681/0.559, allocations: 1.101 MB / 0.5698 GB, free: 4.453 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.006097/0.5651, allocations: 1.309 MB / 0.5711 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.5665, allocations: 0.7363 MB / 0.5718 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5666, allocations: 4 kB / 0.5718 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009164/0.5675, allocations: 0.6027 MB / 0.5724 GB, free: 1.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5685, allocations: 184.9 kB / 0.5726 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.5709, allocations: 1.771 MB / 0.5743 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.5715, allocations: 0.9111 MB / 0.5752 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.5718, allocations: 93.75 kB / 0.5753 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/0.5719, allocations: 39.36 kB / 0.5753 GB, free: 14.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5719, allocations: 0 / 0.5753 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Templates: time 0.05382/0.6257, allocations: 40.5 MB / 0.6149 GB, free: 6.211 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile Environment - environmentSimulation: (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 & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) Environment - environmentSimulation: