Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001129/0.001129, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009512/0.009512, allocations: 169.8 kB / 16.26 MB, free: 6.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.694/1.694, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.716/1.716, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005369/0.0005371, allocations: 14.25 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2267, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.63/0.8567, allocations: 201.9 MB / 0.985 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02068/0.8775, allocations: 13.57 MB / 0.9982 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.8808, allocations: 45.88 kB / 0.9983 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.8842, allocations: 0.6513 MB / 0.9989 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009161/0.8934, allocations: 2.049 MB / 1.001 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.9003, allocations: 1.831 MB / 1.003 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005941/0.9062, allocations: 4.13 MB / 1.007 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.9083, allocations: 0.9666 MB / 1.008 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005309/0.9137, allocations: 1.62 MB / 1.009 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.9161, allocations: 1.01 MB / 1.01 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004531/0.9166, allocations: 59.09 kB / 1.01 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006769/0.9234, allocations: 3.185 MB / 1.013 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007319/0.9241, allocations: 348.6 kB / 1.014 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.9258, allocations: 0.7182 MB / 1.014 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007101/0.933, allocations: 3.087 MB / 1.017 GB, free: 76 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.933, allocations: 0 / 1.017 GB, free: 76 kB / 0.7325 GB Notification: Performance of FrontEnd: time 3.496e-06/0.933, allocations: 0 / 1.017 GB, free: 76 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.25e-05/0.9331, allocations: 7.938 kB / 1.017 GB, free: 68 kB / 0.7325 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.004845/0.938, allocations: 1.829 MB / 1.019 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.938, allocations: 10.94 kB / 1.019 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003441/0.9415, allocations: 0.5692 MB / 1.02 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/0.9442, allocations: 1.081 MB / 1.021 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006883/0.9449, allocations: 208.5 kB / 1.021 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.9452, allocations: 100.7 kB / 1.021 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003243/0.9485, allocations: 1.282 MB / 1.022 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.9485, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.9487, allocations: 32.03 kB / 1.022 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/0.9487, allocations: 47.61 kB / 1.023 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.9521, allocations: 1.331 MB / 1.024 GB, free: 12.09 MB / 0.7481 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.009743/0.9619, allocations: 4.9 MB / 1.029 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.9646, allocations: 1.043 MB / 1.03 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.966, allocations: 0.58 MB / 1.03 GB, free: 7.367 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.9675, allocations: 0.8699 MB / 1.031 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.9692, allocations: 0.7065 MB / 1.032 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=85): time 3.466e-06/0.9692, allocations: 0 / 1.032 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85): time 0.004822/0.974, allocations: 1.792 MB / 1.033 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.9742, allocations: 122.8 kB / 1.034 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.9766, allocations: 1.033 MB / 1.035 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.9768, allocations: 45.64 kB / 1.035 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/0.9773, allocations: 0.5217 MB / 1.035 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.9777, allocations: 280.7 kB / 1.035 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.9779, allocations: 86.58 kB / 1.035 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9781, allocations: 346.6 kB / 1.036 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.9795, allocations: 0.519 MB / 1.036 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.9811, allocations: 0.718 MB / 1.037 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.9838, allocations: 1.232 MB / 1.038 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.9839, allocations: 0 / 1.038 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003799/0.9877, allocations: 1.511 MB / 1.04 GB, free: 392 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.9879, allocations: 242.2 kB / 1.04 GB, free: 96 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.9879, allocations: 0 / 1.04 GB, free: 96 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9879, allocations: 8 kB / 1.04 GB, free: 88 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.9893, allocations: 259.6 kB / 1.04 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.9893, allocations: 11.98 kB / 1.04 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.991, allocations: 207.6 kB / 1.04 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.9912, allocations: 51.97 kB / 1.04 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.9912, allocations: 4 kB / 1.04 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003312/0.9945, allocations: 1.42 MB / 1.042 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.9945, allocations: 7.938 kB / 1.042 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.9945, allocations: 8 kB / 1.042 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9958, allocations: 263.7 kB / 1.042 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.9958, allocations: 11.98 kB / 1.042 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.9973, allocations: 202.7 kB / 1.042 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.9975, allocations: 47.97 kB / 1.042 GB, free: 13.6 MB / 0.7637 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 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007948/0.9983, allocations: 456.3 kB / 1.043 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.9987, allocations: 130.4 kB / 1.043 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/1.002, allocations: 1.524 MB / 1.044 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.002, allocations: 15.92 kB / 1.044 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.002, allocations: 0 / 1.044 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.002, allocations: 3.984 kB / 1.044 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/1.009, allocations: 2.966 MB / 1.047 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.009, allocations: 4.406 kB / 1.047 GB, free: 8.395 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.01, allocations: 203.7 kB / 1.048 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/1.01, allocations: 7.938 kB / 1.048 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.736e-05/1.01, allocations: 35.92 kB / 1.048 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/1.01, allocations: 15.92 kB / 1.048 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.01, allocations: 4 kB / 1.048 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00498/1.015, allocations: 2.303 MB / 1.05 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007626/1.016, allocations: 343.1 kB / 1.05 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/1.016, allocations: 27.94 kB / 1.05 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.017, allocations: 131.8 kB / 1.05 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.018, allocations: 68.41 kB / 1.05 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.018, allocations: 47.97 kB / 1.05 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001278/1.019, allocations: 0.701 MB / 1.051 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.4e-07/1.019, allocations: 0 / 1.051 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002647/1.022, allocations: 0.7878 MB / 1.052 GB, free: 3.637 MB / 0.7637 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/1.023, allocations: 0.5246 MB / 1.052 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005292/1.029, allocations: 2.282 MB / 1.055 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.029, allocations: 0 / 1.055 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/1.03, allocations: 0.7879 MB / 1.055 GB, free: 0 / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/1.034, allocations: 0.5183 MB / 1.056 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/1.04, allocations: 2.934 MB / 1.059 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/1.041, allocations: 1.164 MB / 1.06 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001915/1.043, allocations: 353 kB / 1.06 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/1.043, allocations: 107.4 kB / 1.06 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of SimCode: time 1.403e-06/1.043, allocations: 0 / 1.06 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.04382/1.087, allocations: 25.43 MB / 1.085 GB, free: 1.746 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) Environment - environmentSimulation: