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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 94.69 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3754/0.3754, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.327e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1637, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.251/9.415, allocations: 2.913 GB / 3.394 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/9.415, allocations: 80.08 kB / 3.394 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.509/10.92, allocations: 356.8 MB / 3.743 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/10.92, allocations: 3.812 kB / 3.743 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.528e-05/10.92, allocations: 14.89 kB / 3.743 GB, free: 65.77 MB / 0.5105 GB 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.004959/10.93, allocations: 1.251 MB / 3.744 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/10.93, allocations: 7.75 kB / 3.744 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/10.93, allocations: 150.2 kB / 3.744 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/10.93, allocations: 393 kB / 3.744 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/10.93, allocations: 28.34 kB / 3.744 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/10.93, allocations: 43.27 kB / 3.744 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/10.93, allocations: 0.5462 MB / 3.745 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/10.93, allocations: 3.625 kB / 3.745 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/10.93, allocations: 19.17 kB / 3.745 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/10.93, allocations: 10.16 kB / 3.745 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/10.93, allocations: 330.3 kB / 3.745 GB, free: 64.14 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.001862/10.93, allocations: 2.549 MB / 3.748 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/10.93, allocations: 298.1 kB / 3.748 GB, free: 61.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/10.93, allocations: 165.4 kB / 3.748 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4615/11.4, allocations: 93.91 MB / 3.84 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/11.4, allocations: 336.6 kB / 3.84 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.056e-06/11.4, allocations: 0 / 3.84 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.004668/11.4, allocations: 1.608 MB / 3.842 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/11.4, allocations: 138.2 kB / 3.842 GB, free: 89.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/11.4, allocations: 348.3 kB / 3.842 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/11.4, allocations: 34.75 kB / 3.842 GB, free: 89.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/11.4, allocations: 239.3 kB / 3.842 GB, free: 89.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/11.4, allocations: 113.2 kB / 3.843 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/11.4, allocations: 8.375 kB / 3.843 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001522/11.4, allocations: 361 kB / 3.843 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/11.4, allocations: 143.2 kB / 3.843 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/11.4, allocations: 225.9 kB / 3.843 GB, free: 89.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/11.4, allocations: 226.9 kB / 3.844 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/11.4, allocations: 1.438 kB / 3.844 GB, free: 89.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00115/11.41, allocations: 0.6534 MB / 3.844 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/11.41, allocations: 69.83 kB / 3.844 GB, free: 88.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/11.41, allocations: 1.531 kB / 3.844 GB, free: 88.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/11.41, allocations: 164.2 kB / 3.844 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/11.41, allocations: 57.28 kB / 3.844 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006745/11.41, allocations: 1.13 MB / 3.846 GB, free: 87.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/11.41, allocations: 36.27 kB / 3.846 GB, free: 87.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/11.41, allocations: 24.83 kB / 3.846 GB, free: 87.76 MB / 0.5261 GB 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 () * 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.0001465/11.41, allocations: 201.6 kB / 3.846 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/11.41, allocations: 47.47 kB / 3.846 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/11.41, allocations: 1.678 MB / 3.847 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/11.41, allocations: 19.75 kB / 3.847 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/11.41, allocations: 3.875 kB / 3.847 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/11.41, allocations: 3.219 kB / 3.848 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007579/11.41, allocations: 0.7446 MB / 3.848 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/11.41, allocations: 0 / 3.848 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/11.41, allocations: 44.39 kB / 3.848 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007748/11.41, allocations: 425.1 kB / 3.849 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/11.41, allocations: 19.08 kB / 3.849 GB, free: 87.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/11.41, allocations: 1.337 MB / 3.85 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/11.41, allocations: 2 kB / 3.85 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/11.42, allocations: 1.831 MB / 3.852 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/11.42, allocations: 195 kB / 3.852 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/11.42, allocations: 14.59 kB / 3.852 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/11.42, allocations: 30.89 kB / 3.852 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/11.42, allocations: 23.7 kB / 3.852 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/11.42, allocations: 21.86 kB / 3.852 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002953/11.42, allocations: 274.2 kB / 3.852 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/11.42, allocations: 3.125 kB / 3.852 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004754/11.42, allocations: 1.152 MB / 3.853 GB, free: 85.58 MB / 0.5261 GB 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) * 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.008012/11.43, allocations: 1.713 MB / 3.855 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001821/11.43, allocations: 0.731 MB / 3.856 GB, free: 85.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/11.43, allocations: 2.344 kB / 3.856 GB, free: 85.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008832/11.43, allocations: 0.593 MB / 3.856 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/11.43, allocations: 171.9 kB / 3.857 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/11.44, allocations: 1.14 MB / 3.858 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/11.44, allocations: 0.9233 MB / 3.859 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000313/11.44, allocations: 95.39 kB / 3.859 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/11.44, allocations: 38.77 kB / 3.859 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/11.44, allocations: 0 / 3.859 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.04731/11.48, allocations: 38.45 MB / 3.896 GB, free: 83.38 MB / 0.5261 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)