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.00192/0.00192, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001049/0.001049, allocations: 92.41 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5765/0.5765, allocations: 48.77 MB / 367.9 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 15.94 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.072/8.23, allocations: 2.913 GB / 3.4 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/8.231, allocations: 77.06 kB / 3.4 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.735/9.966, allocations: 358.2 MB / 3.75 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.216e-06/9.966, allocations: 0 / 3.75 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.018e-05/9.966, allocations: 18.39 kB / 3.75 GB, free: 58.66 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.007057/9.973, allocations: 1.316 MB / 3.751 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/9.973, allocations: 9.656 kB / 3.751 GB, free: 57.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/9.974, allocations: 151 kB / 3.751 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/9.975, allocations: 388.3 kB / 3.752 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/9.975, allocations: 26.03 kB / 3.752 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/9.975, allocations: 35.45 kB / 3.752 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009566/9.976, allocations: 0.5558 MB / 3.752 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/9.976, allocations: 1.875 kB / 3.752 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/9.976, allocations: 17.69 kB / 3.752 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/9.976, allocations: 9.625 kB / 3.752 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/9.977, allocations: 324.6 kB / 3.753 GB, free: 57.45 MB / 0.5105 GB 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.002329/9.979, allocations: 2.548 MB / 3.755 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/9.98, allocations: 293.5 kB / 3.755 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2104/10.19, allocations: 93.58 MB / 3.847 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/10.19, allocations: 322.5 kB / 3.847 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 5.57e-06/10.19, allocations: 0 / 3.847 GB, free: 29.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.006032/10.2, allocations: 1.972 MB / 3.849 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/10.2, allocations: 140.2 kB / 3.849 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/10.2, allocations: 347.8 kB / 3.85 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.968e-05/10.2, allocations: 36.45 kB / 3.85 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/10.2, allocations: 237.4 kB / 3.85 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/10.2, allocations: 115.9 kB / 3.85 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/10.2, allocations: 7.5 kB / 3.85 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002691/10.2, allocations: 356.6 kB / 3.85 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/10.2, allocations: 147.4 kB / 3.85 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/10.2, allocations: 225 kB / 3.851 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/10.2, allocations: 226.9 kB / 3.851 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/10.2, allocations: 0 / 3.851 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001515/10.2, allocations: 0.6767 MB / 3.852 GB, free: 27.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/10.2, allocations: 72.67 kB / 3.852 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/10.2, allocations: 0 / 3.852 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/10.2, allocations: 158.9 kB / 3.852 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/10.2, allocations: 63.89 kB / 3.852 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/10.21, allocations: 1.136 MB / 3.853 GB, free: 26.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/10.21, allocations: 30.88 kB / 3.853 GB, free: 26.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/10.21, allocations: 29.27 kB / 3.853 GB, free: 26.24 MB / 0.5417 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 () * 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 (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.0006909/10.21, allocations: 250 kB / 3.853 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/10.21, allocations: 52.95 kB / 3.853 GB, free: 26.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/10.21, allocations: 1.614 MB / 3.855 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/10.21, allocations: 18.72 kB / 3.855 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/10.21, allocations: 0 / 3.855 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/10.21, allocations: 3.938 kB / 3.855 GB, free: 25.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/10.21, allocations: 0.7403 MB / 3.856 GB, free: 25.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/10.21, allocations: 0 / 3.856 GB, free: 25.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/10.21, allocations: 42.2 kB / 3.856 GB, free: 25.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/10.21, allocations: 367 kB / 3.856 GB, free: 25.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/10.21, allocations: 17.42 kB / 3.856 GB, free: 25.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/10.22, allocations: 1.333 MB / 3.857 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/10.22, allocations: 3.438 kB / 3.857 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/10.22, allocations: 1.776 MB / 3.859 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/10.22, allocations: 194.2 kB / 3.859 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/10.22, allocations: 11.69 kB / 3.859 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/10.22, allocations: 26.45 kB / 3.859 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/10.22, allocations: 22.92 kB / 3.859 GB, free: 24.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/10.22, allocations: 26.31 kB / 3.859 GB, free: 24.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005533/10.22, allocations: 280 kB / 3.86 GB, free: 23.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.41e-07/10.22, allocations: 0 / 3.86 GB, free: 23.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008598/10.23, allocations: 1.159 MB / 3.861 GB, free: 23.8 MB / 0.5417 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) * 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 (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.01538/10.24, allocations: 1.714 MB / 3.862 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002593/10.25, allocations: 0.7346 MB / 3.863 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/10.25, allocations: 3.844 kB / 3.863 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/10.25, allocations: 0.5912 MB / 3.864 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/10.25, allocations: 181.8 kB / 3.864 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/10.25, allocations: 1.77 MB / 3.866 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/10.26, allocations: 0.9306 MB / 3.866 GB, free: 37.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005792/10.26, allocations: 96.83 kB / 3.867 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/10.26, allocations: 35.69 kB / 3.867 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of SimCode: time 2.334e-06/10.26, allocations: 0 / 3.867 GB, free: 37.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.06416/10.32, allocations: 36 MB / 3.902 GB, free: 27.57 MB / 0.5573 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)