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.001171/0.001171, allocations: 104 kB / 16.36 MB, free: 6.301 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.001073/0.001073, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001437/0.001437, allocations: 67.91 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6815/0.9256, allocations: 211.2 MB / 0.991 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.9477, allocations: 13.18 MB / 1.004 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.9504, allocations: 63.62 kB / 1.004 GB, free: 9.395 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.9536, allocations: 0.8732 MB / 1.005 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007784/0.9615, allocations: 2.45 MB / 1.007 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.9721, allocations: 3.685 MB / 1.011 GB, free: 2.418 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006485/0.9786, allocations: 3.712 MB / 1.014 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.9816, allocations: 1.35 MB / 1.016 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00594/0.9876, allocations: 1.956 MB / 1.018 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.9904, allocations: 1.156 MB / 1.019 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007762/0.9912, allocations: 152 kB / 1.019 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006888/0.9981, allocations: 3.205 MB / 1.022 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009678/0.9991, allocations: 474.3 kB / 1.023 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002/1.001, allocations: 0.9133 MB / 1.023 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007876/1.009, allocations: 3.483 MB / 1.027 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/1.009, allocations: 0 / 1.027 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.395e-06/1.009, allocations: 3.938 kB / 1.027 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.78e-05/1.009, allocations: 0 / 1.027 GB, free: 1.969 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.006234/1.015, allocations: 2.4 MB / 1.029 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.015, allocations: 8.75 kB / 1.029 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/1.018, allocations: 0.542 MB / 1.03 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/1.021, allocations: 1.324 MB / 1.031 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/1.022, allocations: 82 kB / 1.031 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.022, allocations: 112 kB / 1.031 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/1.025, allocations: 1.344 MB / 1.032 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/1.025, allocations: 0 / 1.032 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.025, allocations: 44 kB / 1.033 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/1.025, allocations: 45.92 kB / 1.033 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/1.028, allocations: 1.335 MB / 1.034 GB, free: 10.57 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.009488/1.037, allocations: 5.289 MB / 1.039 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/1.04, allocations: 1.107 MB / 1.04 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/1.042, allocations: 0.5453 MB / 1.041 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.043, allocations: 0.7513 MB / 1.041 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/1.044, allocations: 0.6016 MB / 1.042 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 3.165e-06/1.044, allocations: 0 / 1.042 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82): time 0.004539/1.049, allocations: 1.577 MB / 1.044 GB, free: 208 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.049, allocations: 149.1 kB / 1.044 GB, free: 28 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.051, allocations: 1.348 MB / 1.045 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/1.051, allocations: 53.69 kB / 1.045 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/1.052, allocations: 0.6506 MB / 1.046 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/1.052, allocations: 279.9 kB / 1.046 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004029/1.053, allocations: 250.7 kB / 1.046 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.053, allocations: 349.9 kB / 1.046 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/1.054, allocations: 0.5245 MB / 1.047 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.056, allocations: 0.8083 MB / 1.048 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/1.058, allocations: 1.199 MB / 1.049 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/1.058, allocations: 7.922 kB / 1.049 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003933/1.062, allocations: 1.512 MB / 1.05 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/1.063, allocations: 33.7 kB / 1.05 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/1.063, allocations: 4 kB / 1.05 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/1.063, allocations: 12 kB / 1.05 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.064, allocations: 333.5 kB / 1.051 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008891/1.065, allocations: 1.195 MB / 1.052 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.067, allocations: 194.8 kB / 1.052 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/1.067, allocations: 55.97 kB / 1.052 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001985/1.069, allocations: 0.7719 MB / 1.053 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001702/1.071, allocations: 0.8005 MB / 1.054 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002795/1.074, allocations: 1.199 MB / 1.055 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.722e-06/1.074, allocations: 0 / 1.055 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003799/1.078, allocations: 1.502 MB / 1.056 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.078, allocations: 37.69 kB / 1.056 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.078, allocations: 4 kB / 1.056 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.078, allocations: 15.94 kB / 1.056 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/1.079, allocations: 303.7 kB / 1.057 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/1.079, allocations: 16 kB / 1.057 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.081, allocations: 171 kB / 1.057 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/1.081, allocations: 55.97 kB / 1.057 GB, free: 1.902 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.0004037/1.081, allocations: 244 kB / 1.057 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/1.082, allocations: 166 kB / 1.057 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/1.085, allocations: 1.31 MB / 1.059 GB, free: 188 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.085, allocations: 12 kB / 1.059 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.085, allocations: 0 / 1.059 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.085, allocations: 3.984 kB / 1.059 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/1.091, allocations: 2.836 MB / 1.061 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.091, allocations: 3.984 kB / 1.061 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.092, allocations: 229.8 kB / 1.062 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/1.092, allocations: 7.938 kB / 1.062 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.321e-05/1.092, allocations: 31.97 kB / 1.062 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006826/1.093, allocations: 1.188 MB / 1.063 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.093, allocations: 16.91 kB / 1.063 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/1.098, allocations: 2.054 MB / 1.065 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008881/1.098, allocations: 362.8 kB / 1.065 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/1.099, allocations: 23.98 kB / 1.065 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.1, allocations: 87.91 kB / 1.065 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.1, allocations: 72.45 kB / 1.065 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/1.1, allocations: 43.97 kB / 1.065 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0013/1.101, allocations: 0.8986 MB / 1.066 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.101, allocations: 0 / 1.066 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002298/1.104, allocations: 0.8309 MB / 1.067 GB, free: 7.266 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.001271/1.105, allocations: 0.5039 MB / 1.068 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005481/1.11, allocations: 2.142 MB / 1.07 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.11, allocations: 0 / 1.07 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.112, allocations: 0.622 MB / 1.07 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.116, allocations: 0.6959 MB / 1.071 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/1.121, allocations: 2.773 MB / 1.074 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009349/1.122, allocations: 1.235 MB / 1.075 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006781/1.123, allocations: 139.4 kB / 1.075 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of SimCode: time 1.462e-06/1.123, allocations: 0 / 1.075 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.05288/1.176, allocations: 39.2 MB / 1.113 GB, free: 8.113 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)