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.001165/0.001165, allocations: 104.5 kB / 16.51 MB, free: 6.715 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.001172/0.001172, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.309/1.309, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2804/0.2804, allocations: 48.84 MB / 319.5 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.00132/0.00132, allocations: 64.58 kB / 389.4 MB, free: 49.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09732, allocations: 59.17 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.04759/0.1449, allocations: 51.81 MB / 0.4886 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.1636, allocations: 17.9 MB / 0.5061 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.1641, allocations: 11.94 kB / 0.5061 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.1648, allocations: 215 kB / 0.5063 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.1699, allocations: 1.931 MB / 0.5082 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008206/0.1781, allocations: 2.667 MB / 0.5108 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.1794, allocations: 1.211 MB / 0.512 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.1798, allocations: 252.1 kB / 0.5122 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.1802, allocations: 306.8 kB / 0.5125 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.1806, allocations: 378.5 kB / 0.5129 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.1807, allocations: 20 kB / 0.5129 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.1939, allocations: 7.433 MB / 0.5201 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.1941, allocations: 91.67 kB / 0.5202 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.1945, allocations: 238.7 kB / 0.5205 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.205, allocations: 4.62 MB / 0.525 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2051, allocations: 0 / 0.525 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2051, allocations: 0 / 0.525 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2051, allocations: 0 / 0.525 GB, free: 0.9492 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.2126/0.4177, allocations: 1.364 MB / 0.5263 GB, free: 86.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.4178, allocations: 10.56 kB / 0.5263 GB, free: 86.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.4191, allocations: 150.1 kB / 0.5264 GB, free: 86.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.4197, allocations: 352.3 kB / 0.5268 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.4197, allocations: 26.56 kB / 0.5268 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.4198, allocations: 34.41 kB / 0.5268 GB, free: 86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.4206, allocations: 486.2 kB / 0.5273 GB, free: 85.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4207, allocations: 4.5 kB / 0.5273 GB, free: 85.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4207, allocations: 17.22 kB / 0.5273 GB, free: 85.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.4207, allocations: 8.469 kB / 0.5273 GB, free: 85.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.4213, allocations: 304.1 kB / 0.5276 GB, free: 85.86 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.00197/0.4233, allocations: 2.504 MB / 0.5301 GB, free: 83.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.4239, allocations: 275.3 kB / 0.5303 GB, free: 83.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.4242, allocations: 154.5 kB / 0.5305 GB, free: 83.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05922/0.4834, allocations: 32.46 MB / 0.5622 GB, free: 60.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000701/0.4841, allocations: 303.3 kB / 0.5625 GB, free: 60.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.965e-06/0.4842, allocations: 0 / 0.5625 GB, free: 60.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00345/0.4876, allocations: 1.702 MB / 0.5641 GB, free: 59.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4877, allocations: 144.4 kB / 0.5643 GB, free: 59.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.4881, allocations: 401.8 kB / 0.5646 GB, free: 58.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4881, allocations: 34.11 kB / 0.5647 GB, free: 58.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4882, allocations: 239.6 kB / 0.5649 GB, free: 58.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.4883, allocations: 109.2 kB / 0.565 GB, free: 58.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.4884, allocations: 80.33 kB / 0.5651 GB, free: 58.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.4885, allocations: 360.7 kB / 0.5654 GB, free: 58.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.4886, allocations: 135.4 kB / 0.5656 GB, free: 58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.4888, allocations: 218.3 kB / 0.5658 GB, free: 57.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.4893, allocations: 466.2 kB / 0.5662 GB, free: 57.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4893, allocations: 0 / 0.5662 GB, free: 57.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008921/0.4902, allocations: 0.6165 MB / 0.5668 GB, free: 57.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.4902, allocations: 71.64 kB / 0.5669 GB, free: 57.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4902, allocations: 4 kB / 0.5669 GB, free: 57.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.4915, allocations: 169.4 kB / 0.5671 GB, free: 56.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.4917, allocations: 57.61 kB / 0.5671 GB, free: 56.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006648/0.4924, allocations: 1.132 MB / 0.5682 GB, free: 55.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.4927, allocations: 32.14 kB / 0.5682 GB, free: 55.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4927, allocations: 23 kB / 0.5683 GB, free: 55.65 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.0002034/0.4929, allocations: 255.9 kB / 0.5685 GB, free: 55.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.493, allocations: 47.44 kB / 0.5686 GB, free: 55.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.4946, allocations: 1.584 MB / 0.5701 GB, free: 53.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.4946, allocations: 15.97 kB / 0.5701 GB, free: 53.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4946, allocations: 0 / 0.5701 GB, free: 53.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4946, allocations: 7.938 kB / 0.5701 GB, free: 53.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.4952, allocations: 0.7322 MB / 0.5708 GB, free: 52.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.4953, allocations: 3.984 kB / 0.5708 GB, free: 52.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.4955, allocations: 48.58 kB / 0.5709 GB, free: 52.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006292/0.4961, allocations: 368 kB / 0.5712 GB, free: 52.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.4962, allocations: 12 kB / 0.5713 GB, free: 52.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006827/0.4969, allocations: 1.338 MB / 0.5726 GB, free: 51.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4969, allocations: 0 / 0.5726 GB, free: 51.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4985, allocations: 1.715 MB / 0.5742 GB, free: 49.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.4987, allocations: 184.1 kB / 0.5744 GB, free: 49.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.4988, allocations: 8 kB / 0.5744 GB, free: 49.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.499, allocations: 31.92 kB / 0.5744 GB, free: 49.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4991, allocations: 19.97 kB / 0.5745 GB, free: 49.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.4991, allocations: 21.67 kB / 0.5745 GB, free: 49.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.4993, allocations: 283.1 kB / 0.5748 GB, free: 48.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4993, allocations: 2.625 kB / 0.5748 GB, free: 48.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003102/0.5024, allocations: 1.103 MB / 0.5758 GB, free: 47.83 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.004093/0.5065, allocations: 1.307 MB / 0.5771 GB, free: 46.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.5076, allocations: 0.7514 MB / 0.5778 GB, free: 45.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5076, allocations: 0 / 0.5778 GB, free: 45.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.5082, allocations: 0.5911 MB / 0.5784 GB, free: 45.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.5092, allocations: 187.3 kB / 0.5786 GB, free: 45.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.5111, allocations: 1.732 MB / 0.5803 GB, free: 43.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.5113, allocations: 0.9151 MB / 0.5812 GB, free: 42.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.5115, allocations: 93.5 kB / 0.5813 GB, free: 42.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.5116, allocations: 35.44 kB / 0.5813 GB, free: 42.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5116, allocations: 0 / 0.5813 GB, free: 42.38 MB / 414.1 MB Notification: Performance of Templates: time 0.03952/0.5512, allocations: 40.22 MB / 0.6206 GB, free: 2.18 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile (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)