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.001557/0.001557, allocations: 109.3 kB / 17.06 MB, free: 6.023 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.001647/0.001647, allocations: 191 kB / 18 MB, free: 5.105 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.502/1.502, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3124/0.3124, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.001495/0.001495, allocations: 71.89 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1281, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3325/0.4606, allocations: 50.95 MB / 0.5475 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.4814, allocations: 17.12 MB / 0.5642 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.482, allocations: 9.156 kB / 0.5642 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.4831, allocations: 265.3 kB / 0.5645 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007981/0.4911, allocations: 2.371 MB / 0.5668 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.5026, allocations: 3.246 MB / 0.57 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.5046, allocations: 0.8629 MB / 0.5708 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.5052, allocations: 300.4 kB / 0.5711 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006473/0.5059, allocations: 345.1 kB / 0.5714 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.5065, allocations: 371.2 kB / 0.5718 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.5066, allocations: 32.84 kB / 0.5718 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02002/0.5266, allocations: 7.522 MB / 0.5791 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.5268, allocations: 98.7 kB / 0.5792 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005475/0.5274, allocations: 249.8 kB / 0.5795 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.54, allocations: 4.602 MB / 0.584 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.952e-05/0.54, allocations: 2.125 kB / 0.584 GB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.54, allocations: 0 / 0.584 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.5401, allocations: 0 / 0.584 GB, free: 15.23 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.00312/0.5432, allocations: 1.372 MB / 0.5853 GB, free: 14.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5432, allocations: 13.64 kB / 0.5853 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/0.5442, allocations: 149.9 kB / 0.5855 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.5447, allocations: 358.4 kB / 0.5858 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.5447, allocations: 32.19 kB / 0.5858 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.5448, allocations: 37.77 kB / 0.5859 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.5456, allocations: 485 kB / 0.5863 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5457, allocations: 2.75 kB / 0.5863 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.5457, allocations: 18.47 kB / 0.5864 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5457, allocations: 10.16 kB / 0.5864 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.5464, allocations: 304.9 kB / 0.5867 GB, free: 13.29 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.002347/0.5488, allocations: 2.499 MB / 0.5891 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.5494, allocations: 289.4 kB / 0.5894 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.5496, allocations: 151 kB / 0.5895 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06373/0.6133, allocations: 32.58 MB / 0.6213 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007158/0.6141, allocations: 302.6 kB / 0.6216 GB, free: 6.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.585e-06/0.6141, allocations: 3.938 kB / 0.6216 GB, free: 6.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003763/0.6179, allocations: 1.706 MB / 0.6233 GB, free: 5.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.618, allocations: 136.5 kB / 0.6234 GB, free: 4.973 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.6184, allocations: 417.7 kB / 0.6238 GB, free: 4.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.6185, allocations: 29.7 kB / 0.6239 GB, free: 4.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.6187, allocations: 236.2 kB / 0.6241 GB, free: 4.289 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.062e-05/0.6187, allocations: 110.4 kB / 0.6242 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6189, allocations: 77.94 kB / 0.6243 GB, free: 4.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.619, allocations: 358.8 kB / 0.6246 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.6192, allocations: 138 kB / 0.6247 GB, free: 3.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.6195, allocations: 219.7 kB / 0.6249 GB, free: 3.363 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.6201, allocations: 474.2 kB / 0.6254 GB, free: 2.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6201, allocations: 0 / 0.6254 GB, free: 2.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009821/0.6211, allocations: 0.6154 MB / 0.626 GB, free: 2.207 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.6212, allocations: 75.28 kB / 0.6261 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.6212, allocations: 7.938 kB / 0.6261 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.6224, allocations: 161.8 kB / 0.6262 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.6226, allocations: 59.91 kB / 0.6263 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008898/0.6235, allocations: 1.132 MB / 0.6274 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.6238, allocations: 15.98 kB / 0.6274 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.6238, allocations: 16 kB / 0.6274 GB, free: 0.6758 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.0002811/0.6241, allocations: 248.9 kB / 0.6277 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.6242, allocations: 51.33 kB / 0.6277 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.6261, allocations: 1.595 MB / 0.6293 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.6261, allocations: 15.97 kB / 0.6293 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6262, allocations: 3.938 kB / 0.6293 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6262, allocations: 7.984 kB / 0.6293 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.6269, allocations: 0.7282 MB / 0.63 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6269, allocations: 0 / 0.63 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.6271, allocations: 43.98 kB / 0.63 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/0.6277, allocations: 248.3 kB / 0.6303 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.6277, allocations: 19.98 kB / 0.6303 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009367/0.6286, allocations: 1.335 MB / 0.6316 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6287, allocations: 0 / 0.6316 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.6307, allocations: 1.718 MB / 0.6333 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.6309, allocations: 176.1 kB / 0.6335 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.631, allocations: 16 kB / 0.6335 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.6311, allocations: 8 kB / 0.6335 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.6312, allocations: 23.97 kB / 0.6335 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.6312, allocations: 15.98 kB / 0.6335 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002907/0.6315, allocations: 279.1 kB / 0.6338 GB, free: 9.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6316, allocations: 0 / 0.6338 GB, free: 9.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00316/0.6347, allocations: 1.105 MB / 0.6349 GB, free: 8.852 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.004052/0.6388, allocations: 1.324 MB / 0.6362 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.64, allocations: 0.7514 MB / 0.6369 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.64, allocations: 0 / 0.6369 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007227/0.6408, allocations: 0.5955 MB / 0.6375 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.6417, allocations: 189.1 kB / 0.6376 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.6439, allocations: 1.455 MB / 0.6391 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.6444, allocations: 0.9112 MB / 0.64 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.6446, allocations: 95.17 kB / 0.64 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.6447, allocations: 35.42 kB / 0.6401 GB, free: 3.383 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6447, allocations: 0 / 0.6401 GB, free: 3.383 MB / 494.1 MB Notification: Performance of Templates: time 0.05529/0.7, allocations: 40.7 MB / 0.6798 GB, free: 10.61 MB / 0.5294 GB 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)