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.001436/0.001436, allocations: 114.3 kB / 17.07 MB, free: 6.016 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.001427/0.001427, allocations: 189.4 kB / 18 MB, free: 5.098 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3049/0.3049, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.002086/0.002086, allocations: 71.89 kB / 450 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 59.16 MB / 0.4973 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.2917/0.4042, allocations: 50.94 MB / 0.547 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.4235, allocations: 17.13 MB / 0.5637 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006129/0.4242, allocations: 13.56 kB / 0.5637 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.4252, allocations: 265.6 kB / 0.564 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007264/0.4325, allocations: 2.361 MB / 0.5663 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009629/0.4421, allocations: 3.236 MB / 0.5695 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.4433, allocations: 0.8534 MB / 0.5703 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.4438, allocations: 307.7 kB / 0.5706 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.4443, allocations: 334.5 kB / 0.5709 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.4448, allocations: 368.2 kB / 0.5713 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.4449, allocations: 41.2 kB / 0.5713 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.4607, allocations: 7.517 MB / 0.5786 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.4609, allocations: 91.66 kB / 0.5787 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000621/0.4616, allocations: 263.9 kB / 0.579 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4755, allocations: 4.618 MB / 0.5835 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.4755, allocations: 0 / 0.5835 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4755, allocations: 3.938 kB / 0.5835 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4755, allocations: 1.812 kB / 0.5835 GB, free: 15.3 MB / 446.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.004353/0.4799, allocations: 1.395 MB / 0.5849 GB, free: 14.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.48, allocations: 12.7 kB / 0.5849 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.457e-05/0.4801, allocations: 78.19 kB / 0.5849 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.481, allocations: 153.7 kB / 0.5851 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.4816, allocations: 368.9 kB / 0.5854 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4816, allocations: 24.72 kB / 0.5855 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.4817, allocations: 33.34 kB / 0.5855 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.4826, allocations: 485.2 kB / 0.586 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.4826, allocations: 6.969 kB / 0.586 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.4827, allocations: 16.44 kB / 0.586 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.4827, allocations: 8.281 kB / 0.586 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.4834, allocations: 316.7 kB / 0.5863 GB, free: 13.25 MB / 446.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.002621/0.486, allocations: 2.502 MB / 0.5887 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.4866, allocations: 282.9 kB / 0.589 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.4868, allocations: 146.8 kB / 0.5891 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07176/0.5586, allocations: 32.59 MB / 0.621 GB, free: 7.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.5594, allocations: 311.3 kB / 0.6213 GB, free: 7.117 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.005e-06/0.5594, allocations: 0 / 0.6213 GB, free: 7.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004322/0.5637, allocations: 1.702 MB / 0.6229 GB, free: 5.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5639, allocations: 144.5 kB / 0.6231 GB, free: 5.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.5644, allocations: 405.9 kB / 0.6235 GB, free: 4.723 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.5645, allocations: 29.7 kB / 0.6235 GB, free: 4.688 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.5647, allocations: 260.4 kB / 0.6237 GB, free: 4.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5648, allocations: 115 kB / 0.6238 GB, free: 4.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.5649, allocations: 77.97 kB / 0.6239 GB, free: 4.234 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.5651, allocations: 358.8 kB / 0.6243 GB, free: 3.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.5654, allocations: 133.4 kB / 0.6244 GB, free: 3.746 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.5658, allocations: 215.8 kB / 0.6246 GB, free: 3.508 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.5664, allocations: 470.2 kB / 0.625 GB, free: 2.996 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5664, allocations: 0 / 0.625 GB, free: 2.996 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001127/0.5676, allocations: 0.6157 MB / 0.6256 GB, free: 2.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.5676, allocations: 83.42 kB / 0.6257 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5677, allocations: 4 kB / 0.6257 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.5689, allocations: 168.9 kB / 0.6259 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.5692, allocations: 59.91 kB / 0.6259 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.5702, allocations: 1.132 MB / 0.6271 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.5706, allocations: 12 kB / 0.6271 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.5706, allocations: 16 kB / 0.6271 GB, free: 0.8203 MB / 478.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.0003297/0.571, allocations: 253.1 kB / 0.6273 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5711, allocations: 47.72 kB / 0.6274 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.5734, allocations: 1.583 MB / 0.6289 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.5734, allocations: 23.91 kB / 0.6289 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5734, allocations: 4 kB / 0.6289 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5735, allocations: 0 / 0.6289 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.5744, allocations: 0.7321 MB / 0.6297 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5744, allocations: 0 / 0.6297 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.5746, allocations: 47.97 kB / 0.6297 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006194/0.5752, allocations: 256.3 kB / 0.6299 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.5753, allocations: 8 kB / 0.63 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.5764, allocations: 1.335 MB / 0.6313 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.5765, allocations: 4.094 kB / 0.6313 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.5789, allocations: 1.719 MB / 0.6329 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.5792, allocations: 184.4 kB / 0.6331 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.5793, allocations: 12 kB / 0.6331 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.5795, allocations: 11.98 kB / 0.6331 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.5796, allocations: 27.97 kB / 0.6332 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.5796, allocations: 19.94 kB / 0.6332 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003427/0.58, allocations: 275.1 kB / 0.6334 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.58, allocations: 0 / 0.6334 GB, free: 10.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003881/0.5839, allocations: 1.119 MB / 0.6345 GB, free: 8.973 MB / 494.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.01086/0.5947, allocations: 3.343 MB / 0.6378 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.5963, allocations: 0.7436 MB / 0.6385 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.5963, allocations: 0 / 0.6385 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.5972, allocations: 0.6033 MB / 0.6391 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5984, allocations: 193.1 kB / 0.6393 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.608, allocations: 5.255 MB / 0.6444 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.6087, allocations: 0.9111 MB / 0.6453 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.609, allocations: 91.19 kB / 0.6454 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003278/0.6093, allocations: 219.3 kB / 0.6456 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.303e-06/0.6093, allocations: 3.938 kB / 0.6456 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/0.7115, allocations: 47.55 MB / 0.6921 GB, free: 13.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.56, allocations: 3.938 kB / 0.6921 GB, free: 13.65 MB / 0.545 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/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)