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 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/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/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) 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.9705/0.9705, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009009/0.0009005, allocations: 86.41 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001656/0.001656, allocations: 266 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000905/0.0009051, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4382, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.587/5.025, allocations: 2.056 GB / 2.795 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/5.025, allocations: 95.95 kB / 2.796 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.628/8.653, allocations: 1.026 GB / 3.822 GB, free: 93.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/8.653, allocations: 0 / 3.822 GB, free: 93.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003044/8.654, allocations: 45.98 kB / 3.822 GB, free: 93.98 MB / 0.698 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.007302/8.661, allocations: 2.359 MB / 3.824 GB, free: 93.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/8.661, allocations: 7.594 kB / 3.824 GB, free: 93.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/8.665, allocations: 0.6264 MB / 3.825 GB, free: 93.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004404/8.67, allocations: 1.507 MB / 3.826 GB, free: 92.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/8.67, allocations: 161.1 kB / 3.826 GB, free: 92.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004489/8.671, allocations: 127.3 kB / 3.826 GB, free: 92.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003527/8.674, allocations: 1.48 MB / 3.828 GB, free: 92.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/8.674, allocations: 0 / 3.828 GB, free: 92.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/8.674, allocations: 50.16 kB / 3.828 GB, free: 92.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.293e-05/8.674, allocations: 40.94 kB / 3.828 GB, free: 92.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/8.677, allocations: 1.251 MB / 3.829 GB, free: 92.47 MB / 0.698 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.01047/8.688, allocations: 5.915 MB / 3.835 GB, free: 90.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/8.69, allocations: 1.159 MB / 3.836 GB, free: 89.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/8.691, allocations: 0.5744 MB / 3.837 GB, free: 89.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005077/8.692, allocations: 314.8 kB / 3.837 GB, free: 89.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/8.693, allocations: 0.637 MB / 3.837 GB, free: 89.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.658e-06/8.693, allocations: 6.125 kB / 3.837 GB, free: 89.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.0116/8.705, allocations: 4.366 MB / 3.842 GB, free: 88.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/8.705, allocations: 198.4 kB / 3.842 GB, free: 88.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/8.707, allocations: 1.33 MB / 3.843 GB, free: 88.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/8.707, allocations: 48.08 kB / 3.843 GB, free: 88.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/8.707, allocations: 0.7327 MB / 3.844 GB, free: 88.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/8.708, allocations: 322.3 kB / 3.844 GB, free: 87.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/8.708, allocations: 15.09 kB / 3.844 GB, free: 87.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/8.708, allocations: 352 kB / 3.845 GB, free: 87.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/8.709, allocations: 485.3 kB / 3.845 GB, free: 87.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/8.71, allocations: 0.7186 MB / 3.846 GB, free: 87.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/8.721, allocations: 3.687 MB / 3.849 GB, free: 86.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/8.722, allocations: 0 / 3.849 GB, free: 86.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004271/8.726, allocations: 1.852 MB / 3.851 GB, free: 86.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/8.726, allocations: 231 kB / 3.851 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/8.726, allocations: 3.438 kB / 3.851 GB, free: 86.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/8.727, allocations: 470.9 kB / 3.852 GB, free: 86.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/8.728, allocations: 175.1 kB / 3.852 GB, free: 86.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/8.735, allocations: 7.14 MB / 3.859 GB, free: 82.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/8.737, allocations: 151.2 kB / 3.859 GB, free: 82.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/8.737, allocations: 42.62 kB / 3.859 GB, free: 82.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/8.737, allocations: 4.781 kB / 3.859 GB, free: 82.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003837/8.741, allocations: 1.681 MB / 3.861 GB, free: 81.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/8.741, allocations: 2.938 kB / 3.861 GB, free: 81.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/8.742, allocations: 452.3 kB / 3.861 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/8.743, allocations: 181.9 kB / 3.861 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/8.751, allocations: 8.139 MB / 3.869 GB, free: 76.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/8.753, allocations: 148.1 kB / 3.87 GB, free: 76.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/8.753, allocations: 40.98 kB / 3.87 GB, free: 76.56 MB / 0.698 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: 15 * 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 (87): * Single equations (assignments): 82 * 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.00115/8.754, allocations: 0.5114 MB / 3.87 GB, free: 76.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004185/8.754, allocations: 164.6 kB / 3.87 GB, free: 76.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003774/8.758, allocations: 1.679 MB / 3.872 GB, free: 76.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/8.758, allocations: 13.41 kB / 3.872 GB, free: 76.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/8.758, allocations: 3.75 kB / 3.872 GB, free: 76.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003095/8.761, allocations: 1.533 MB / 3.873 GB, free: 75.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007602/8.769, allocations: 3.546 MB / 3.877 GB, free: 75.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/8.769, allocations: 2.781 kB / 3.877 GB, free: 75.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/8.77, allocations: 193.3 kB / 3.877 GB, free: 75.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005826/8.77, allocations: 246.9 kB / 3.877 GB, free: 75.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/8.77, allocations: 32.47 kB / 3.877 GB, free: 75.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/8.774, allocations: 2.664 MB / 3.88 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/8.774, allocations: 10.5 kB / 3.88 GB, free: 73.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004934/8.778, allocations: 2.463 MB / 3.882 GB, free: 73.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/8.78, allocations: 362.1 kB / 3.883 GB, free: 72.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004511/8.78, allocations: 33 kB / 3.883 GB, free: 72.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/8.782, allocations: 142 kB / 3.883 GB, free: 72.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/8.782, allocations: 69.31 kB / 3.883 GB, free: 72.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/8.782, allocations: 42.17 kB / 3.883 GB, free: 72.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001744/8.784, allocations: 0.9112 MB / 3.884 GB, free: 72.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/8.784, allocations: 0 / 3.884 GB, free: 72.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004392/8.788, allocations: 0.9866 MB / 3.885 GB, free: 72.77 MB / 0.698 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.003588/8.792, allocations: 2.366 MB / 3.887 GB, free: 71.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005919/8.798, allocations: 3.13 MB / 3.89 GB, free: 70.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/8.798, allocations: 0 / 3.89 GB, free: 70.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/8.799, allocations: 0.8111 MB / 3.891 GB, free: 70.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/8.804, allocations: 0.8541 MB / 3.892 GB, free: 70.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/8.811, allocations: 3.95 MB / 3.896 GB, free: 69.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/8.811, allocations: 1.36 MB / 3.897 GB, free: 68.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00164/8.813, allocations: 336.9 kB / 3.897 GB, free: 68.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/8.813, allocations: 110.2 kB / 3.897 GB, free: 68.41 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/8.813, allocations: 0 / 3.897 GB, free: 68.41 MB / 0.698 GB Notification: Performance of Templates: time 0.0806/8.894, allocations: 61.58 MB / 3.958 GB, free: 65.38 MB / 0.698 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)