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.0007551/0.0007551, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001101/0.001101, allocations: 172.7 kB / 15.95 MB, free: 208 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.382/1.382, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.658/1.658, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005523/0.0005525, allocations: 13.72 kB / 0.6737 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6277/0.8491, allocations: 188.6 MB / 0.9714 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.8651, allocations: 12.59 MB / 0.9837 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.8673, allocations: 43.5 kB / 0.9838 GB, free: 4 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.8692, allocations: 0.54 MB / 0.9843 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.8745, allocations: 1.654 MB / 0.9859 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.8794, allocations: 1.613 MB / 0.9875 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004652/0.8841, allocations: 3.567 MB / 0.991 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.8855, allocations: 0.8691 MB / 0.9918 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.8889, allocations: 1.454 MB / 0.9932 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.8903, allocations: 0.9574 MB / 0.9942 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.8904, allocations: 56.89 kB / 0.9942 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.8948, allocations: 2.289 MB / 0.9965 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.8952, allocations: 333.1 kB / 0.9968 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.8956, allocations: 307.3 kB / 0.9971 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.8984, allocations: 2.154 MB / 0.9992 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8985, allocations: 4 kB / 0.9992 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8985, allocations: 0 / 0.9992 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.8985, allocations: 2.688 kB / 0.9992 GB, free: 10.47 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.003566/0.9021, allocations: 1.838 MB / 1.001 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.9021, allocations: 7.812 kB / 1.001 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.9048, allocations: 0.5614 MB / 1.002 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.9066, allocations: 1.04 MB / 1.003 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005264/0.9071, allocations: 207.2 kB / 1.003 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.9073, allocations: 104.9 kB / 1.003 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.9095, allocations: 1.271 MB / 1.004 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.9095, allocations: 1.859 kB / 1.004 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.9096, allocations: 38.64 kB / 1.004 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/0.9096, allocations: 40.7 kB / 1.004 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.9122, allocations: 1.326 MB / 1.005 GB, free: 7.754 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.006719/0.919, allocations: 4.904 MB / 1.01 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.921, allocations: 1.033 MB / 1.011 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.9221, allocations: 0.578 MB / 1.012 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.9232, allocations: 0.866 MB / 1.013 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.9245, allocations: 0.7003 MB / 1.013 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 3.126e-06/0.9245, allocations: 0 / 1.013 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.003925/0.9284, allocations: 1.78 MB / 1.015 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.9285, allocations: 123.8 kB / 1.015 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.9297, allocations: 1.023 MB / 1.016 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/0.9298, allocations: 49.23 kB / 1.016 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.9302, allocations: 0.5232 MB / 1.017 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.9304, allocations: 275.5 kB / 1.017 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.9305, allocations: 24 kB / 1.017 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9306, allocations: 343.5 kB / 1.017 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.9317, allocations: 0.5112 MB / 1.018 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.9329, allocations: 0.708 MB / 1.019 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.934, allocations: 0.6082 MB / 1.019 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.934, allocations: 2.781 kB / 1.019 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002853/0.9369, allocations: 1.493 MB / 1.021 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.937, allocations: 239.5 kB / 1.021 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.9371, allocations: 2.812 kB / 1.021 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.9371, allocations: 7.938 kB / 1.021 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.9382, allocations: 259.6 kB / 1.021 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9383, allocations: 13.16 kB / 1.021 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.9396, allocations: 216.1 kB / 1.021 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/0.9397, allocations: 53.19 kB / 1.021 GB, free: 308 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.9397, allocations: 5.875 kB / 1.021 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002548/0.9423, allocations: 1.413 MB / 1.023 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9423, allocations: 2.938 kB / 1.023 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.9423, allocations: 5.406 kB / 1.023 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.9434, allocations: 265.9 kB / 1.023 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.9434, allocations: 9.875 kB / 1.023 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.9447, allocations: 204 kB / 1.023 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/0.9448, allocations: 49.22 kB / 1.023 GB, free: 15.84 MB / 0.7481 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.0006655/0.9455, allocations: 461 kB / 1.024 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/0.9457, allocations: 133.5 kB / 1.024 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.9485, allocations: 1.521 MB / 1.025 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.9485, allocations: 9.688 kB / 1.025 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.9485, allocations: 1.781 kB / 1.025 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.9485, allocations: 3.984 kB / 1.025 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.953, allocations: 2.966 MB / 1.028 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.9531, allocations: 10.06 kB / 1.028 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/0.9539, allocations: 203.9 kB / 1.028 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.9539, allocations: 11.98 kB / 1.028 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.954, allocations: 27.86 kB / 1.028 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.954, allocations: 11.92 kB / 1.028 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.954, allocations: 6.875 kB / 1.028 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/0.9578, allocations: 2.293 MB / 1.031 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.9584, allocations: 345.5 kB / 1.031 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.9586, allocations: 25.27 kB / 1.031 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009909/0.9596, allocations: 131.8 kB / 1.031 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.9597, allocations: 69.84 kB / 1.031 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.9598, allocations: 37.55 kB / 1.031 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009028/0.9607, allocations: 0.6967 MB / 1.032 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9607, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001913/0.9626, allocations: 0.7869 MB / 1.033 GB, free: 11.28 MB / 0.7481 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.001047/0.9637, allocations: 0.5204 MB / 1.033 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004069/0.9678, allocations: 2.267 MB / 1.035 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.9678, allocations: 0 / 1.035 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.9691, allocations: 0.7869 MB / 1.036 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.9714, allocations: 0.5224 MB / 1.037 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.9757, allocations: 2.838 MB / 1.04 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.9763, allocations: 1.162 MB / 1.041 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001556/0.9779, allocations: 357.6 kB / 1.041 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.9782, allocations: 109.9 kB / 1.041 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of SimCode: time 5.72e-07/0.9782, allocations: 0 / 1.041 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of Templates: time 0.03681/1.015, allocations: 24.74 MB / 1.065 GB, free: 11.33 MB / 0.7794 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: