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.001435/0.001435, allocations: 103 kB / 17.74 MB, free: 5.367 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.001086/0.001086, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.393/1.393, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2958/0.2958, allocations: 48.83 MB / 320.7 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.002274/0.002274, allocations: 67.91 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1654, allocations: 59.17 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.3761/0.5416, allocations: 50.94 MB / 0.5482 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02118/0.5628, allocations: 17.12 MB / 0.5649 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.5635, allocations: 9.625 kB / 0.5649 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.5645, allocations: 263.3 kB / 0.5651 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.5731, allocations: 2.369 MB / 0.5674 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.5854, allocations: 3.244 MB / 0.5706 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.5872, allocations: 0.8598 MB / 0.5714 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000567/0.5878, allocations: 292.5 kB / 0.5717 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005948/0.5884, allocations: 348.3 kB / 0.5721 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.589, allocations: 372 kB / 0.5724 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.589, allocations: 33.66 kB / 0.5724 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/0.6074, allocations: 7.522 MB / 0.5798 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.6076, allocations: 97.73 kB / 0.5799 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005742/0.6082, allocations: 252.7 kB / 0.5801 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.6234, allocations: 4.6 MB / 0.5846 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6234, allocations: 3.938 kB / 0.5846 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6234, allocations: 0 / 0.5846 GB, free: 15.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.6234, allocations: 0 / 0.5846 GB, free: 15.25 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.00408/0.6275, allocations: 1.364 MB / 0.586 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6276, allocations: 13.2 kB / 0.586 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.6286, allocations: 148.2 kB / 0.5861 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006853/0.6293, allocations: 366.6 kB / 0.5865 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.6294, allocations: 28.41 kB / 0.5865 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.6295, allocations: 34.69 kB / 0.5865 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.6304, allocations: 486.3 kB / 0.587 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6304, allocations: 6.062 kB / 0.587 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.6304, allocations: 17.72 kB / 0.587 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.6305, allocations: 7.25 kB / 0.587 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.6311, allocations: 306.3 kB / 0.5873 GB, free: 13.32 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.002551/0.6336, allocations: 2.504 MB / 0.5897 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.6342, allocations: 281.9 kB / 0.59 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.6345, allocations: 160.9 kB / 0.5902 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06854/0.703, allocations: 32.57 MB / 0.622 GB, free: 7.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007301/0.7038, allocations: 298.6 kB / 0.6223 GB, free: 7.004 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 3.396e-06/0.7038, allocations: 0 / 0.6223 GB, free: 7.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.003949/0.7078, allocations: 1.718 MB / 0.6239 GB, free: 5.168 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.7079, allocations: 136.5 kB / 0.6241 GB, free: 5.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.7084, allocations: 413.8 kB / 0.6245 GB, free: 4.594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.7084, allocations: 29.7 kB / 0.6245 GB, free: 4.559 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.7086, allocations: 240.2 kB / 0.6247 GB, free: 4.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.7087, allocations: 106.5 kB / 0.6248 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7089, allocations: 77.92 kB / 0.6249 GB, free: 4.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.709, allocations: 358.8 kB / 0.6252 GB, free: 3.773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.7093, allocations: 132.7 kB / 0.6254 GB, free: 3.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.7096, allocations: 223.7 kB / 0.6256 GB, free: 3.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.7101, allocations: 470.2 kB / 0.626 GB, free: 2.887 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7101, allocations: 0 / 0.626 GB, free: 2.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001075/0.7112, allocations: 0.6202 MB / 0.6266 GB, free: 2.242 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.7113, allocations: 75.3 kB / 0.6267 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.7113, allocations: 3.938 kB / 0.6267 GB, free: 2.152 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.7126, allocations: 161.6 kB / 0.6269 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.7129, allocations: 60.16 kB / 0.6269 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009797/0.7139, allocations: 1.128 MB / 0.628 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.7141, allocations: 16.19 kB / 0.628 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.7142, allocations: 19.98 kB / 0.6281 GB, free: 0.7148 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.0003128/0.7145, allocations: 252.9 kB / 0.6283 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.7146, allocations: 51.44 kB / 0.6283 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.7167, allocations: 1.583 MB / 0.6299 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.7168, allocations: 16.91 kB / 0.6299 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7168, allocations: 11.88 kB / 0.6299 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7168, allocations: 0 / 0.6299 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.7176, allocations: 0.7321 MB / 0.6306 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.7176, allocations: 0 / 0.6306 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.7179, allocations: 47.92 kB / 0.6307 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005866/0.7184, allocations: 252.3 kB / 0.6309 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.7185, allocations: 8 kB / 0.6309 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.7195, allocations: 1.343 MB / 0.6322 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7196, allocations: 0 / 0.6322 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.7217, allocations: 1.716 MB / 0.6339 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.7219, allocations: 184.1 kB / 0.6341 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.722, allocations: 12 kB / 0.6341 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.7222, allocations: 8 kB / 0.6341 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.7222, allocations: 23.97 kB / 0.6341 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.7223, allocations: 16 kB / 0.6342 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.7226, allocations: 275.1 kB / 0.6344 GB, free: 9.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7226, allocations: 0 / 0.6344 GB, free: 9.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003742/0.7263, allocations: 1.105 MB / 0.6355 GB, free: 8.891 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.005625/0.732, allocations: 1.33 MB / 0.6368 GB, free: 7.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.7334, allocations: 0.7518 MB / 0.6375 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7334, allocations: 0 / 0.6375 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.7342, allocations: 0.595 MB / 0.6381 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7353, allocations: 189.1 kB / 0.6383 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.7375, allocations: 1.485 MB / 0.6397 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.738, allocations: 0.9112 MB / 0.6406 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.7382, allocations: 39.42 kB / 0.6407 GB, free: 3.469 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7382, allocations: 3.938 kB / 0.6407 GB, free: 3.465 MB / 494.1 MB Notification: Performance of Templates: time 0.04369/0.7819, allocations: 29.15 MB / 0.6691 GB, free: 6.266 MB / 0.5137 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)