Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 99.55 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.001018/0.001018, 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 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9616/0.9616, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 0.5158 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 83.42 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.4241/0.5804, allocations: 172.2 MB / 0.7655 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.5974, allocations: 12.01 MB / 0.7772 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.599, allocations: 43.69 kB / 0.7772 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.6012, allocations: 0.6999 MB / 0.7779 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0056/0.6068, allocations: 2.019 MB / 0.7799 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005994/0.6128, allocations: 1.744 MB / 0.7816 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004796/0.6176, allocations: 1.917 MB / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.6195, allocations: 0.9098 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.6227, allocations: 1.39 MB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.6238, allocations: 0.7119 MB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.624, allocations: 60 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.6279, allocations: 2.044 MB / 0.7885 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.6283, allocations: 314.9 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003984/0.6287, allocations: 304.9 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.6316, allocations: 2.129 MB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6316, allocations: 0 / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6316, allocations: 0 / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.152e-05/0.6316, allocations: 0 / 0.7911 GB, free: 5.363 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003767/0.6354, allocations: 1.811 MB / 0.7929 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6355, allocations: 8.031 kB / 0.7929 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.6386, allocations: 0.564 MB / 0.7935 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.6406, allocations: 1.029 MB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006949/0.6413, allocations: 209.9 kB / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.6415, allocations: 96 kB / 0.7948 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.6441, allocations: 1.268 MB / 0.796 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.6442, allocations: 4 kB / 0.796 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.6443, allocations: 32.5 kB / 0.796 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.6443, allocations: 45.98 kB / 0.7961 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.6475, allocations: 1.308 MB / 0.7974 GB, free: 14.86 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.008178/0.6557, allocations: 4.935 MB / 0.8022 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.6585, allocations: 1.048 MB / 0.8032 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.6595, allocations: 0.6955 MB / 0.8039 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.6611, allocations: 0.7427 MB / 0.8046 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 2.395e-06/0.6611, allocations: 3.938 kB / 0.8046 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.004478/0.6656, allocations: 1.933 MB / 0.8065 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.6657, allocations: 141.2 kB / 0.8066 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.6671, allocations: 1.046 MB / 0.8076 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.6672, allocations: 45.7 kB / 0.8077 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.6677, allocations: 0.532 MB / 0.8082 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.6679, allocations: 272 kB / 0.8085 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.668, allocations: 16 kB / 0.8085 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6681, allocations: 341.9 kB / 0.8088 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.6694, allocations: 0.5055 MB / 0.8093 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.6709, allocations: 0.7029 MB / 0.81 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.6723, allocations: 0.6036 MB / 0.8106 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6723, allocations: 0 / 0.8106 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003415/0.6757, allocations: 1.491 MB / 0.812 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004423/0.6762, allocations: 1.132 MB / 0.8131 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6762, allocations: 0 / 0.8131 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6762, allocations: 11.95 kB / 0.8132 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.6775, allocations: 263.6 kB / 0.8134 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.6775, allocations: 8 kB / 0.8134 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.679, allocations: 212.8 kB / 0.8136 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.6791, allocations: 47.97 kB / 0.8137 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.6792, allocations: 4 kB / 0.8137 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003147/0.6823, allocations: 1.413 MB / 0.815 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.6823, allocations: 0 / 0.815 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.6824, allocations: 8 kB / 0.8151 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6836, allocations: 259.8 kB / 0.8153 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6836, allocations: 11.94 kB / 0.8153 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.685, allocations: 199.6 kB / 0.8155 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.6851, allocations: 47.97 kB / 0.8155 GB, free: 11.43 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007032/0.6858, allocations: 466.6 kB / 0.816 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.6861, allocations: 126.5 kB / 0.8161 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.6893, allocations: 1.5 MB / 0.8176 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.6894, allocations: 8 kB / 0.8176 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6894, allocations: 0 / 0.8176 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6894, allocations: 3.984 kB / 0.8176 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.6948, allocations: 3.052 MB / 0.8206 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.6948, allocations: 7.125 kB / 0.8206 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.6958, allocations: 208.1 kB / 0.8208 GB, free: 5.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.6958, allocations: 8 kB / 0.8208 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.6959, allocations: 27.98 kB / 0.8208 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.6959, allocations: 15.92 kB / 0.8208 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6959, allocations: 4 kB / 0.8208 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.7006, allocations: 2.441 MB / 0.8232 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.7013, allocations: 351.1 kB / 0.8235 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.7015, allocations: 24 kB / 0.8236 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.7029, allocations: 167.5 kB / 0.8237 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.703, allocations: 64.38 kB / 0.8238 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.7031, allocations: 43.97 kB / 0.8238 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001009/0.7041, allocations: 0.7089 MB / 0.8245 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7041, allocations: 0 / 0.8245 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001976/0.7061, allocations: 0.7839 MB / 0.8253 GB, free: 1.16 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.7072, allocations: 0.5137 MB / 0.8258 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004656/0.7119, allocations: 2.257 MB / 0.828 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.7119, allocations: 3.938 kB / 0.828 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.7134, allocations: 0.7798 MB / 0.8288 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.7159, allocations: 0.4976 MB / 0.8292 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.7208, allocations: 2.828 MB / 0.832 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.7216, allocations: 1.188 MB / 0.8332 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001715/0.7233, allocations: 354.4 kB / 0.8335 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.7237, allocations: 103.4 kB / 0.8336 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.7237, allocations: 0 / 0.8336 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of Templates: time 0.2684/0.992, allocations: 24.94 MB / 0.858 GB, free: 206.3 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) Environment - environmentSimulation: