Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009256/0.0009255, allocations: 99.62 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.0009967/0.0009967, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9832/0.9832, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004897, allocations: 8 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1546, allocations: 83.41 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.4379/0.5926, allocations: 175.8 MB / 0.7689 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01412/0.6067, allocations: 9.802 MB / 0.7785 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.6082, allocations: 51.62 kB / 0.7786 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.6103, allocations: 0.7151 MB / 0.7793 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.6163, allocations: 2.259 MB / 0.7815 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.6214, allocations: 1.919 MB / 0.7833 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.6251, allocations: 2.196 MB / 0.7855 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.6268, allocations: 1.026 MB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.6301, allocations: 1.468 MB / 0.7879 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.6316, allocations: 0.8129 MB / 0.7887 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003163/0.6319, allocations: 60 kB / 0.7888 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004205/0.6361, allocations: 1.993 MB / 0.7907 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005634/0.6367, allocations: 354.6 kB / 0.7911 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.6373, allocations: 340.8 kB / 0.7914 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003446/0.6408, allocations: 2.299 MB / 0.7936 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.6408, allocations: 3.938 kB / 0.7936 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6408, allocations: 0 / 0.7936 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.924e-05/0.6409, allocations: 0 / 0.7936 GB, free: 3.039 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005586/0.6465, allocations: 2.013 MB / 0.7956 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6465, allocations: 8.031 kB / 0.7956 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.6497, allocations: 0.5832 MB / 0.7962 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.6523, allocations: 1.176 MB / 0.7973 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006774/0.653, allocations: 218.5 kB / 0.7975 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.6532, allocations: 115.9 kB / 0.7976 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.6559, allocations: 1.337 MB / 0.7989 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.656, allocations: 0 / 0.7989 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.6561, allocations: 44 kB / 0.799 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.6561, allocations: 38 kB / 0.799 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003259/0.6594, allocations: 1.386 MB / 0.8004 GB, free: 11.98 MB / 0.6231 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.008485/0.6679, allocations: 5.364 MB / 0.8056 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.6704, allocations: 1.052 MB / 0.8066 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008882/0.6713, allocations: 0.6007 MB / 0.8072 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.6727, allocations: 0.625 MB / 0.8078 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=81): time 4.288e-06/0.6728, allocations: 0 / 0.8078 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.00431/0.6771, allocations: 1.659 MB / 0.8095 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6771, allocations: 64.06 kB / 0.8095 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.6788, allocations: 1.314 MB / 0.8108 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.6789, allocations: 49.7 kB / 0.8109 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/0.6795, allocations: 0.6465 MB / 0.8115 GB, free: 136 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.6797, allocations: 276 kB / 0.8117 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.6798, allocations: 20 kB / 0.8118 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6799, allocations: 349.9 kB / 0.8121 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6813, allocations: 0.5179 MB / 0.8126 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.6829, allocations: 0.7863 MB / 0.8134 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.6843, allocations: 0.598 MB / 0.814 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.6843, allocations: 3.938 kB / 0.814 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00346/0.6878, allocations: 1.513 MB / 0.8154 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007005/0.6885, allocations: 1.991 MB / 0.8174 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6885, allocations: 8.859 kB / 0.8174 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6885, allocations: 12 kB / 0.8174 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.6904, allocations: 363.2 kB / 0.8177 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006687/0.6911, allocations: 1.191 MB / 0.8189 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.6926, allocations: 245.9 kB / 0.8191 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.6928, allocations: 55.97 kB / 0.8192 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.6928, allocations: 4 kB / 0.8192 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003183/0.696, allocations: 1.349 MB / 0.8205 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.696, allocations: 8 kB / 0.8205 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.696, allocations: 15.89 kB / 0.8205 GB, free: 6.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.6975, allocations: 327.8 kB / 0.8209 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.6975, allocations: 15.92 kB / 0.8209 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.699, allocations: 221.2 kB / 0.8211 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.6992, allocations: 51.97 kB / 0.8211 GB, free: 5.965 MB / 0.6387 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0006712/0.6998, allocations: 414.7 kB / 0.8215 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.7001, allocations: 150.1 kB / 0.8217 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.7034, allocations: 1.368 MB / 0.823 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7035, allocations: 12 kB / 0.823 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7035, allocations: 0 / 0.823 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7035, allocations: 3.984 kB / 0.823 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/0.7089, allocations: 2.905 MB / 0.8259 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.709, allocations: 4 kB / 0.8259 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.7102, allocations: 237.4 kB / 0.8261 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.7102, allocations: 8 kB / 0.8261 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.7103, allocations: 27.98 kB / 0.8261 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/0.711, allocations: 1.199 MB / 0.8273 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.711, allocations: 4 kB / 0.8273 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004607/0.7156, allocations: 2.325 MB / 0.8296 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006773/0.7163, allocations: 382.7 kB / 0.8299 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.7165, allocations: 23.98 kB / 0.83 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.7178, allocations: 160.4 kB / 0.8301 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.718, allocations: 76.45 kB / 0.8302 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.7181, allocations: 35.97 kB / 0.8302 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001248/0.7194, allocations: 0.8862 MB / 0.8311 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7194, allocations: 0 / 0.8311 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002023/0.7214, allocations: 0.7887 MB / 0.8319 GB, free: 10.64 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.0009824/0.7224, allocations: 499.7 kB / 0.8323 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005192/0.7276, allocations: 2.113 MB / 0.8344 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7276, allocations: 4 kB / 0.8344 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.7292, allocations: 0.6455 MB / 0.835 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.7324, allocations: 0.6777 MB / 0.8357 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.7377, allocations: 3.213 MB / 0.8388 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000796/0.7385, allocations: 1.258 MB / 0.8401 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001801/0.7403, allocations: 400.9 kB / 0.8404 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.7406, allocations: 127.4 kB / 0.8406 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of SimCode: time 7.62e-07/0.7407, allocations: 4 kB / 0.8406 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of Templates: time 0.2805/1.021, allocations: 28.69 MB / 0.8686 GB, free: 200.2 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: