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.0009505/0.0009504, allocations: 99.86 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.0009727/0.0009728, 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 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.624/1.624, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005236/0.0005237, allocations: 17.34 kB / 0.6735 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6256/0.8453, allocations: 172.2 MB / 0.9553 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.8617, allocations: 11.87 MB / 0.9669 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.8643, allocations: 41.81 kB / 0.9669 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.867, allocations: 0.7061 MB / 0.9676 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008078/0.8751, allocations: 1.956 MB / 0.9695 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00604/0.8811, allocations: 1.742 MB / 0.9712 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004806/0.886, allocations: 1.914 MB / 0.9731 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.8879, allocations: 0.881 MB / 0.974 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004035/0.8919, allocations: 1.389 MB / 0.9753 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.8936, allocations: 0.7303 MB / 0.976 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.8938, allocations: 55.44 kB / 0.9761 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004894/0.8987, allocations: 2.032 MB / 0.9781 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.8991, allocations: 316.9 kB / 0.9784 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008796/0.9, allocations: 309.9 kB / 0.9787 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.9036, allocations: 2.033 MB / 0.9807 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9036, allocations: 0 / 0.9807 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9036, allocations: 4 kB / 0.9807 GB, free: 19.64 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.9036, allocations: 0 / 0.9807 GB, free: 19.64 MB / 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.003882/0.9075, allocations: 1.798 MB / 0.9824 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9076, allocations: 7.5 kB / 0.9824 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.9105, allocations: 0.5636 MB / 0.983 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.9127, allocations: 1.024 MB / 0.984 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/0.9133, allocations: 204.9 kB / 0.9842 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.9135, allocations: 104.3 kB / 0.9843 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.9159, allocations: 1.27 MB / 0.9855 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.9159, allocations: 2.531 kB / 0.9855 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.9161, allocations: 35.97 kB / 0.9855 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.9161, allocations: 40.91 kB / 0.9856 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.9189, allocations: 1.326 MB / 0.9869 GB, free: 16.99 MB / 0.7325 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.007355/0.9262, allocations: 4.912 MB / 0.9917 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.9287, allocations: 1.06 MB / 0.9927 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/0.9297, allocations: 0.6941 MB / 0.9934 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.931, allocations: 0.7422 MB / 0.9941 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 2.935e-06/0.931, allocations: 0 / 0.9941 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.004196/0.9352, allocations: 1.946 MB / 0.996 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.9353, allocations: 147.3 kB / 0.9962 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.9366, allocations: 1.03 MB / 0.9972 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.9367, allocations: 43.89 kB / 0.9972 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.9371, allocations: 0.5238 MB / 0.9977 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.9374, allocations: 280.3 kB / 0.998 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.9374, allocations: 18.78 kB / 0.998 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9376, allocations: 341.6 kB / 0.9983 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.9387, allocations: 0.5072 MB / 0.9988 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.94, allocations: 0.7103 MB / 0.9995 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.9412, allocations: 0.6149 MB / 1 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.9412, allocations: 3.25 kB / 1 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003108/0.9443, allocations: 1.497 MB / 1.002 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.9448, allocations: 1.119 MB / 1.003 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9448, allocations: 0 / 1.003 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.9448, allocations: 8.469 kB / 1.003 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.946, allocations: 265.7 kB / 1.003 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.946, allocations: 15.08 kB / 1.003 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.9476, allocations: 216 kB / 1.003 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9477, allocations: 48.5 kB / 1.003 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.9477, allocations: 4.703 kB / 1.003 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002841/0.9506, allocations: 1.419 MB / 1.005 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.9506, allocations: 2.5 kB / 1.005 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.9506, allocations: 5.938 kB / 1.005 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.9517, allocations: 268.8 kB / 1.005 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.9518, allocations: 6.094 kB / 1.005 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.9532, allocations: 190.8 kB / 1.005 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.9533, allocations: 49.25 kB / 1.005 GB, free: 8.312 MB / 0.7325 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.0007383/0.954, allocations: 465.2 kB / 1.006 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.9544, allocations: 136 kB / 1.006 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.9575, allocations: 1.504 MB / 1.007 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.9576, allocations: 9.422 kB / 1.007 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.9576, allocations: 2.844 kB / 1.007 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9576, allocations: 3.984 kB / 1.007 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005557/0.9632, allocations: 3.045 MB / 1.01 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9632, allocations: 6.375 kB / 1.01 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/0.9641, allocations: 205 kB / 1.01 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.9641, allocations: 9.656 kB / 1.01 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.9642, allocations: 34.94 kB / 1.01 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.9642, allocations: 13.17 kB / 1.01 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.9642, allocations: 6.75 kB / 1.01 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.9686, allocations: 2.463 MB / 1.013 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008641/0.9695, allocations: 350.5 kB / 1.013 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.9698, allocations: 23.59 kB / 1.013 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.9711, allocations: 126.9 kB / 1.013 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9713, allocations: 67.48 kB / 1.013 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.9714, allocations: 45.47 kB / 1.013 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001145/0.9725, allocations: 0.7029 MB / 1.014 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9726, allocations: 0 / 1.014 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002612/0.9752, allocations: 0.7912 MB / 1.015 GB, free: 4.773 MB / 0.7325 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 (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.001484/0.9767, allocations: 0.5074 MB / 1.015 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004508/0.9812, allocations: 2.269 MB / 1.018 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9812, allocations: 0.75 kB / 1.018 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/0.9826, allocations: 0.7861 MB / 1.018 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.9852, allocations: 0.5075 MB / 1.019 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/0.9906, allocations: 2.843 MB / 1.022 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/0.9915, allocations: 1.185 MB / 1.023 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00173/0.9932, allocations: 356.8 kB / 1.023 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.9936, allocations: 105.8 kB / 1.023 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/0.9936, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.04153/1.035, allocations: 24.78 MB / 1.047 GB, free: 6.211 MB / 0.7637 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: