Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8054/0.8054, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.8 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.000922, allocations: 92.38 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 272.9 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 14.97 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/4.72, allocations: 1.892 GB / 2.665 GB, free: 186.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/4.72, allocations: 102.1 kB / 2.666 GB, free: 186 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.66/8.38, allocations: 1.051 GB / 3.716 GB, free: 94.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/8.38, allocations: 0 / 3.716 GB, free: 94.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001684/8.38, allocations: 48.16 kB / 3.716 GB, free: 94.35 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005447/8.386, allocations: 2.374 MB / 3.719 GB, free: 93.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/8.386, allocations: 9.438 kB / 3.719 GB, free: 93.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003949/8.39, allocations: 0.6312 MB / 3.719 GB, free: 93.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/8.394, allocations: 1.439 MB / 3.721 GB, free: 92.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/8.394, allocations: 159.2 kB / 3.721 GB, free: 92.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/8.394, allocations: 125.6 kB / 3.721 GB, free: 92.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/8.397, allocations: 1.46 MB / 3.722 GB, free: 92.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/8.397, allocations: 10.72 kB / 3.722 GB, free: 92.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/8.397, allocations: 46.88 kB / 3.722 GB, free: 92.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/8.397, allocations: 43.97 kB / 3.722 GB, free: 92.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/8.4, allocations: 1.25 MB / 3.724 GB, free: 92.71 MB / 0.7136 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.008688/8.408, allocations: 5.878 MB / 3.729 GB, free: 90.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/8.41, allocations: 1.16 MB / 3.731 GB, free: 90.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/8.411, allocations: 312.8 kB / 3.731 GB, free: 89.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/8.412, allocations: 0.6359 MB / 3.731 GB, free: 89.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=87): time 4.007e-06/8.412, allocations: 0 / 3.731 GB, free: 89.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.01173/8.424, allocations: 4.421 MB / 3.736 GB, free: 88.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/8.424, allocations: 199.9 kB / 3.736 GB, free: 88.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/8.426, allocations: 1.164 MB / 3.737 GB, free: 88.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/8.426, allocations: 45.73 kB / 3.737 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005593/8.426, allocations: 0.7229 MB / 3.738 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/8.427, allocations: 319.3 kB / 3.738 GB, free: 88.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/8.427, allocations: 23.66 kB / 3.738 GB, free: 88.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/8.427, allocations: 336.5 kB / 3.738 GB, free: 87.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/8.428, allocations: 490 kB / 3.739 GB, free: 87.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/8.429, allocations: 0.7073 MB / 3.74 GB, free: 87.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/8.44, allocations: 2.551 MB / 3.742 GB, free: 87.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/8.44, allocations: 0 / 3.742 GB, free: 87.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004571/8.445, allocations: 1.83 MB / 3.744 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/8.445, allocations: 1.295 MB / 3.745 GB, free: 85.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/8.445, allocations: 8.156 kB / 3.745 GB, free: 85.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/8.446, allocations: 451.3 kB / 3.746 GB, free: 85.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/8.447, allocations: 176.7 kB / 3.746 GB, free: 85.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007278/8.454, allocations: 7.207 MB / 3.753 GB, free: 81.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/8.456, allocations: 150.2 kB / 3.753 GB, free: 81.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/8.456, allocations: 42.19 kB / 3.753 GB, free: 81.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/8.456, allocations: 3.375 kB / 3.753 GB, free: 81.25 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004012/8.46, allocations: 1.67 MB / 3.755 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/8.46, allocations: 3.875 kB / 3.755 GB, free: 81.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/8.462, allocations: 448.9 kB / 3.755 GB, free: 81.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/8.462, allocations: 181.4 kB / 3.755 GB, free: 81.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/8.471, allocations: 8.209 MB / 3.763 GB, free: 75.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/8.473, allocations: 156.1 kB / 3.763 GB, free: 75.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/8.473, allocations: 39.62 kB / 3.763 GB, free: 75.77 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001377/8.475, allocations: 0.5125 MB / 3.764 GB, free: 75.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/8.475, allocations: 167.5 kB / 3.764 GB, free: 75.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/8.48, allocations: 1.676 MB / 3.766 GB, free: 75.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/8.48, allocations: 10.72 kB / 3.766 GB, free: 75.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/8.48, allocations: 2.594 kB / 3.766 GB, free: 75.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003431/8.483, allocations: 1.527 MB / 3.767 GB, free: 75.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006854/8.49, allocations: 3.541 MB / 3.771 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/8.49, allocations: 2.562 kB / 3.771 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/8.491, allocations: 197.7 kB / 3.771 GB, free: 74.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/8.492, allocations: 239.4 kB / 3.771 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/8.492, allocations: 30.05 kB / 3.771 GB, free: 74.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003157/8.495, allocations: 2.728 MB / 3.774 GB, free: 72.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/8.495, allocations: 7.75 kB / 3.774 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/8.5, allocations: 2.702 MB / 3.776 GB, free: 71.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/8.501, allocations: 368.9 kB / 3.777 GB, free: 71.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/8.501, allocations: 30.88 kB / 3.777 GB, free: 71.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/8.502, allocations: 137.7 kB / 3.777 GB, free: 71.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/8.502, allocations: 68.31 kB / 3.777 GB, free: 71.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/8.502, allocations: 41.12 kB / 3.777 GB, free: 71.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001275/8.504, allocations: 0.9172 MB / 3.778 GB, free: 71.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/8.504, allocations: 0 / 3.778 GB, free: 71.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003786/8.508, allocations: 1.019 MB / 3.779 GB, free: 71.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003198/8.511, allocations: 2.374 MB / 3.781 GB, free: 70.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004594/8.515, allocations: 2.945 MB / 3.784 GB, free: 69.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/8.515, allocations: 3.969 kB / 3.784 GB, free: 69.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/8.517, allocations: 0.8165 MB / 3.785 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/8.521, allocations: 0.8669 MB / 3.786 GB, free: 69.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/8.527, allocations: 3.947 MB / 3.79 GB, free: 67.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008514/8.528, allocations: 1.386 MB / 3.791 GB, free: 67.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001737/8.53, allocations: 342.8 kB / 3.791 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/8.53, allocations: 111.6 kB / 3.791 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/8.53, allocations: 0 / 3.791 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.08141/8.612, allocations: 62.12 MB / 3.852 GB, free: 57.65 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)