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.001169/0.001169, allocations: 99.28 kB / 16.27 MB, free: 6 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.001177/0.001177, allocations: 189.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.788/1.788, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001422/0.001422, allocations: 71.89 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2508, allocations: 114.5 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6362/0.887, allocations: 211.2 MB / 0.9903 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02348/0.9106, allocations: 13.18 MB / 1.003 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.9134, allocations: 67.62 kB / 1.003 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.9162, allocations: 0.8732 MB / 1.004 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.9234, allocations: 2.448 MB / 1.006 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009801/0.9332, allocations: 3.66 MB / 1.01 GB, free: 3.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006169/0.9394, allocations: 3.704 MB / 1.014 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.9421, allocations: 1.349 MB / 1.015 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00555/0.9477, allocations: 1.955 MB / 1.017 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.9504, allocations: 1.146 MB / 1.018 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005879/0.951, allocations: 152 kB / 1.018 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.9577, allocations: 3.154 MB / 1.021 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.9588, allocations: 474.3 kB / 1.022 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002034/0.9608, allocations: 0.9133 MB / 1.023 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.9708, allocations: 3.448 MB / 1.026 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.9709, allocations: 0 / 1.026 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.845e-06/0.9709, allocations: 0 / 1.026 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.068e-05/0.9709, allocations: 0 / 1.026 GB, free: 2.766 MB / 0.8106 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.00631/0.9772, allocations: 2.4 MB / 1.028 GB, free: 308 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.9773, allocations: 8.75 kB / 1.028 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.9803, allocations: 0.5403 MB / 1.029 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.9831, allocations: 1.258 MB / 1.03 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006426/0.9838, allocations: 198.2 kB / 1.03 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.984, allocations: 116 kB / 1.03 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.9869, allocations: 1.355 MB / 1.032 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.9869, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.987, allocations: 40 kB / 1.032 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.9871, allocations: 38 kB / 1.032 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.9903, allocations: 1.351 MB / 1.033 GB, free: 11.3 MB / 0.8262 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.009533/0.9999, allocations: 5.336 MB / 1.038 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/1.003, allocations: 1.14 MB / 1.039 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.004, allocations: 0.5506 MB / 1.04 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.005, allocations: 0.7513 MB / 1.041 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/1.007, allocations: 0.6172 MB / 1.041 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/1.007, allocations: 4 kB / 1.041 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82): time 0.005152/1.012, allocations: 1.608 MB / 1.043 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.012, allocations: 137.2 kB / 1.043 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/1.014, allocations: 1.36 MB / 1.044 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002458/1.015, allocations: 45.7 kB / 1.044 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/1.015, allocations: 0.6544 MB / 1.045 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/1.016, allocations: 279.9 kB / 1.045 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004198/1.016, allocations: 250.7 kB / 1.045 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.016, allocations: 349.9 kB / 1.046 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.018, allocations: 0.5291 MB / 1.046 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/1.02, allocations: 0.82 MB / 1.047 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/1.023, allocations: 1.22 MB / 1.048 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.023, allocations: 0 / 1.048 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003773/1.027, allocations: 1.536 MB / 1.05 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/1.027, allocations: 33.7 kB / 1.05 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/1.027, allocations: 4 kB / 1.05 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.027, allocations: 12.19 kB / 1.05 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.028, allocations: 337.7 kB / 1.05 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000732/1.029, allocations: 1.199 MB / 1.051 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/1.031, allocations: 194.8 kB / 1.052 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.031, allocations: 54.3 kB / 1.052 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00189/1.033, allocations: 0.7836 MB / 1.052 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00162/1.035, allocations: 0.8122 MB / 1.053 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002735/1.037, allocations: 1.21 MB / 1.054 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/1.037, allocations: 0 / 1.054 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003859/1.041, allocations: 1.524 MB / 1.056 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/1.041, allocations: 37.64 kB / 1.056 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.041, allocations: 7.938 kB / 1.056 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.041, allocations: 12 kB / 1.056 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.043, allocations: 307.7 kB / 1.056 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/1.043, allocations: 16 kB / 1.056 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.045, allocations: 171.1 kB / 1.056 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.045, allocations: 51.97 kB / 1.056 GB, free: 2.379 MB / 0.8419 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 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004217/1.045, allocations: 258.4 kB / 1.057 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005116/1.046, allocations: 166 kB / 1.057 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/1.049, allocations: 1.332 MB / 1.058 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/1.049, allocations: 12 kB / 1.058 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.049, allocations: 0 / 1.058 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.049, allocations: 11.97 kB / 1.058 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/1.056, allocations: 2.851 MB / 1.061 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.056, allocations: 0 / 1.061 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/1.057, allocations: 229.2 kB / 1.061 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/1.057, allocations: 15.94 kB / 1.061 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.355e-05/1.057, allocations: 27.98 kB / 1.061 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000643/1.058, allocations: 1.188 MB / 1.062 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.058, allocations: 11.92 kB / 1.062 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004985/1.063, allocations: 2.07 MB / 1.064 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009205/1.064, allocations: 362.8 kB / 1.065 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/1.064, allocations: 20 kB / 1.065 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/1.066, allocations: 99.84 kB / 1.065 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.066, allocations: 76.5 kB / 1.065 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/1.066, allocations: 39.97 kB / 1.065 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001676/1.068, allocations: 0.9025 MB / 1.066 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/1.068, allocations: 0 / 1.066 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003055/1.071, allocations: 0.8347 MB / 1.067 GB, free: 7.66 MB / 0.8575 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/1.072, allocations: 0.507 MB / 1.067 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006896/1.079, allocations: 2.263 MB / 1.069 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.079, allocations: 3.938 kB / 1.069 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.081, allocations: 0.6296 MB / 1.07 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.086, allocations: 0.6992 MB / 1.071 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/1.092, allocations: 2.82 MB / 1.073 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.093, allocations: 1.239 MB / 1.075 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/1.094, allocations: 135.4 kB / 1.075 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of SimCode: time 1.453e-06/1.094, allocations: 4 kB / 1.075 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Templates: time 0.05416/1.148, allocations: 39.23 MB / 1.113 GB, free: 8.289 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (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)