Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007312/0.0007312, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007846/0.0007846, allocations: 168.7 kB / 15.95 MB, free: 204 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.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.617/1.617, 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.0006389/0.0006389, allocations: 14.97 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2226, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5922/0.8148, allocations: 192.5 MB / 0.9753 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.8315, allocations: 12.46 MB / 0.9874 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003594/0.8351, allocations: 60.25 kB / 0.9875 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.8376, allocations: 0.5759 MB / 0.988 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006601/0.8443, allocations: 1.829 MB / 0.9898 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008427/0.8527, allocations: 2.754 MB / 0.9925 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006393/0.8591, allocations: 4.063 MB / 0.9965 GB, free: 0 / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.8613, allocations: 0.999 MB / 0.9975 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.8652, allocations: 1.547 MB / 0.999 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.867, allocations: 1.055 MB / 1 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.8672, allocations: 66.52 kB / 1 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005886/0.8731, allocations: 2.357 MB / 1.002 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.8735, allocations: 362.4 kB / 1.003 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.8741, allocations: 350.2 kB / 1.003 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003267/0.8773, allocations: 2.39 MB / 1.005 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8774, allocations: 0 / 1.005 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8774, allocations: 0 / 1.005 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.8774, allocations: 0 / 1.005 GB, free: 12.41 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004091/0.8815, allocations: 2.087 MB / 1.007 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8815, allocations: 8.25 kB / 1.007 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002504/0.884, allocations: 0.5877 MB / 1.008 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.8861, allocations: 1.21 MB / 1.009 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005113/0.8867, allocations: 217.6 kB / 1.009 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.8868, allocations: 121.1 kB / 1.01 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.8892, allocations: 1.367 MB / 1.011 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.8892, allocations: 0 / 1.011 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.8893, allocations: 40.25 kB / 1.011 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.8894, allocations: 51.75 kB / 1.011 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.8921, allocations: 1.382 MB / 1.012 GB, free: 9.398 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.007433/0.8996, allocations: 5.334 MB / 1.017 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.9019, allocations: 1.181 MB / 1.019 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.903, allocations: 0.5685 MB / 1.019 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.904, allocations: 0.7811 MB / 1.02 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.9054, allocations: 0.6348 MB / 1.021 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/0.9054, allocations: 0 / 1.021 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.003814/0.9092, allocations: 1.668 MB / 1.022 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.9093, allocations: 140.6 kB / 1.022 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.9109, allocations: 1.332 MB / 1.024 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.911, allocations: 50.3 kB / 1.024 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/0.9115, allocations: 0.6488 MB / 1.024 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.9117, allocations: 282.9 kB / 1.025 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.9118, allocations: 23.56 kB / 1.025 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9119, allocations: 354.5 kB / 1.025 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.9131, allocations: 0.5348 MB / 1.025 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.9145, allocations: 0.8313 MB / 1.026 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.9157, allocations: 0.623 MB / 1.027 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9158, allocations: 2.844 kB / 1.027 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003091/0.9189, allocations: 1.561 MB / 1.028 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.919, allocations: 270.1 kB / 1.029 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9191, allocations: 9.484 kB / 1.029 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9191, allocations: 10.84 kB / 1.029 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.9207, allocations: 349.5 kB / 1.029 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006503/0.9214, allocations: 1.206 MB / 1.03 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.9228, allocations: 236.3 kB / 1.03 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.923, allocations: 55.81 kB / 1.03 GB, free: 324 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.923, allocations: 5.125 kB / 1.031 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002696/0.9257, allocations: 1.397 MB / 1.032 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.9257, allocations: 6.156 kB / 1.032 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.9257, allocations: 10.5 kB / 1.032 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.9271, allocations: 329.4 kB / 1.032 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.9271, allocations: 14.78 kB / 1.032 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.9286, allocations: 225.7 kB / 1.032 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.9287, allocations: 56.22 kB / 1.032 GB, free: 15.72 MB / 0.7481 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 (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0006934/0.9294, allocations: 414.5 kB / 1.033 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.9297, allocations: 154.1 kB / 1.033 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.9326, allocations: 1.392 MB / 1.034 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.9327, allocations: 8 kB / 1.034 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9327, allocations: 0 / 1.034 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.9327, allocations: 3.984 kB / 1.034 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.9377, allocations: 2.91 MB / 1.037 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9378, allocations: 4 kB / 1.037 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.9389, allocations: 244 kB / 1.037 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.9389, allocations: 12 kB / 1.037 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.939, allocations: 27.98 kB / 1.038 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006746/0.9397, allocations: 1.191 MB / 1.039 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.9397, allocations: 8.125 kB / 1.039 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/0.9446, allocations: 2.132 MB / 1.041 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.9453, allocations: 370.6 kB / 1.041 GB, free: 6.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.9455, allocations: 31.98 kB / 1.041 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9466, allocations: 123.9 kB / 1.041 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.9467, allocations: 80.44 kB / 1.041 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.9468, allocations: 39.98 kB / 1.041 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001211/0.948, allocations: 0.8869 MB / 1.042 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.948, allocations: 1.859 kB / 1.042 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002093/0.9501, allocations: 0.8309 MB / 1.043 GB, free: 4.906 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001013/0.9511, allocations: 0.5009 MB / 1.044 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004858/0.956, allocations: 2.226 MB / 1.046 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.956, allocations: 4.875 kB / 1.046 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.9576, allocations: 0.6642 MB / 1.046 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/0.9607, allocations: 0.7065 MB / 1.047 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.9659, allocations: 3.273 MB / 1.05 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/0.9669, allocations: 1.235 MB / 1.051 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002103/0.969, allocations: 418.5 kB / 1.052 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.9694, allocations: 131.4 kB / 1.052 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of SimCode: time 2.675e-06/0.9694, allocations: 0 / 1.052 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of Templates: time 0.04688/1.016, allocations: 29.74 MB / 1.081 GB, free: 14.25 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: