Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009639, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009615/0.0009616, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.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.0004999/0.0004999, allocations: 14.44 kB / 0.6735 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2376, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6273/0.8649, allocations: 175.9 MB / 0.9588 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.8839, allocations: 12.21 MB / 0.9708 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.8867, allocations: 52.91 kB / 0.9708 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.8897, allocations: 0.762 MB / 0.9716 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008097/0.8978, allocations: 2.199 MB / 0.9737 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009611/0.9074, allocations: 2.866 MB / 0.9765 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005616/0.913, allocations: 2.214 MB / 0.9787 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.915, allocations: 1.02 MB / 0.9797 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.919, allocations: 1.473 MB / 0.9811 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.9209, allocations: 0.8133 MB / 0.9819 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.9212, allocations: 63.81 kB / 0.982 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005949/0.9271, allocations: 2.101 MB / 0.984 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005482/0.9277, allocations: 347.6 kB / 0.9843 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.9288, allocations: 350.7 kB / 0.9847 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.9326, allocations: 2.272 MB / 0.9869 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9326, allocations: 1.75 kB / 0.9869 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9326, allocations: 0 / 0.9869 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.9326, allocations: 0 / 0.9869 GB, free: 19.56 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004745/0.9374, allocations: 2.055 MB / 0.9889 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9374, allocations: 8.031 kB / 0.9889 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/0.9403, allocations: 0.5838 MB / 0.9895 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.9425, allocations: 1.194 MB / 0.9906 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005888/0.9431, allocations: 219.6 kB / 0.9909 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.9433, allocations: 113.6 kB / 0.991 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.9456, allocations: 1.363 MB / 0.9923 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.9457, allocations: 0 / 0.9923 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.9458, allocations: 42.94 kB / 0.9923 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.414e-05/0.9458, allocations: 48.25 kB / 0.9924 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.9486, allocations: 1.384 MB / 0.9937 GB, free: 16.62 MB / 0.7325 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.008047/0.9567, allocations: 5.348 MB / 0.999 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.9593, allocations: 1.192 MB / 1 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008828/0.9602, allocations: 0.6075 MB / 1.001 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/0.9616, allocations: 0.6376 MB / 1.001 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.9616, allocations: 0 / 1.001 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004175/0.9658, allocations: 1.67 MB / 1.003 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.9659, allocations: 142.1 kB / 1.003 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.9676, allocations: 1.339 MB / 1.004 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.9677, allocations: 52.69 kB / 1.004 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/0.9682, allocations: 0.6461 MB / 1.005 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.9684, allocations: 283.9 kB / 1.005 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.9685, allocations: 25.8 kB / 1.005 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9687, allocations: 350.8 kB / 1.006 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.9699, allocations: 0.5402 MB / 1.006 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.9713, allocations: 0.8322 MB / 1.007 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.9726, allocations: 0.6188 MB / 1.008 GB, free: 10 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9727, allocations: 4 kB / 1.008 GB, free: 10 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003237/0.9759, allocations: 1.554 MB / 1.009 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007726/0.9767, allocations: 1.993 MB / 1.011 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.9767, allocations: 5.375 kB / 1.011 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.9768, allocations: 14.77 kB / 1.011 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.9784, allocations: 349.8 kB / 1.011 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007359/0.9791, allocations: 1.2 MB / 1.013 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.9809, allocations: 238.9 kB / 1.013 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.981, allocations: 59.7 kB / 1.013 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.9811, allocations: 2 kB / 1.013 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002914/0.984, allocations: 1.401 MB / 1.014 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.984, allocations: 6 kB / 1.014 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.984, allocations: 16.42 kB / 1.014 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.9853, allocations: 322.2 kB / 1.015 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.9854, allocations: 17.45 kB / 1.015 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.987, allocations: 224.1 kB / 1.015 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.9871, allocations: 56.41 kB / 1.015 GB, free: 5.762 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007626/0.9879, allocations: 413.9 kB / 1.015 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.9882, allocations: 165.4 kB / 1.015 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.9914, allocations: 1.373 MB / 1.017 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.9914, allocations: 10.62 kB / 1.017 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9914, allocations: 0 / 1.017 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.9915, allocations: 3.984 kB / 1.017 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/0.9974, allocations: 2.917 MB / 1.02 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.9974, allocations: 6.125 kB / 1.02 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.9986, allocations: 242.2 kB / 1.02 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.371e-05/0.9986, allocations: 16.2 kB / 1.02 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/0.9987, allocations: 28.67 kB / 1.02 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006589/0.9994, allocations: 1.187 MB / 1.021 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.9994, allocations: 10.23 kB / 1.021 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/1.004, allocations: 2.358 MB / 1.023 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/1.005, allocations: 374.3 kB / 1.024 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/1.005, allocations: 20.5 kB / 1.024 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.007, allocations: 139.6 kB / 1.024 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.007, allocations: 77.3 kB / 1.024 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.562e-05/1.007, allocations: 37.09 kB / 1.024 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00156/1.008, allocations: 0.8914 MB / 1.025 GB, free: 156 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.513e-06/1.008, allocations: 4 kB / 1.025 GB, free: 152 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002804/1.011, allocations: 0.8326 MB / 1.026 GB, free: 15.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/1.013, allocations: 0.5105 MB / 1.026 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00557/1.018, allocations: 2.225 MB / 1.028 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/1.018, allocations: 4 kB / 1.028 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/1.02, allocations: 0.6607 MB / 1.029 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003775/1.024, allocations: 0.6854 MB / 1.03 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/1.03, allocations: 3.27 MB / 1.033 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009457/1.031, allocations: 1.264 MB / 1.034 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00227/1.033, allocations: 426.1 kB / 1.035 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/1.034, allocations: 127.4 kB / 1.035 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of SimCode: time 1.763e-06/1.034, allocations: 0 / 1.035 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of Templates: time 0.05122/1.085, allocations: 29.87 MB / 1.064 GB, free: 9.73 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: