Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7941/0.7941, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.7 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 426.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 94.36 kB / 0.4945 GB, free: 8.332 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001865/0.001864, allocations: 269.1 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004877, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4405, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.028/5.469, allocations: 2.328 GB / 3.068 GB, free: 218.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/5.469, allocations: 91.48 kB / 3.068 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.065/8.534, allocations: 0.9408 GB / 4.009 GB, free: 65.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/8.534, allocations: 0 / 4.009 GB, free: 65.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002656/8.534, allocations: 51.86 kB / 4.009 GB, free: 65.35 MB / 0.698 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.007457/8.541, allocations: 2.384 MB / 4.011 GB, free: 62.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/8.541, allocations: 8.031 kB / 4.011 GB, free: 62.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/8.545, allocations: 0.5529 MB / 4.012 GB, free: 62.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/8.549, allocations: 1.466 MB / 4.013 GB, free: 60.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006537/8.55, allocations: 226.9 kB / 4.013 GB, free: 60.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/8.55, allocations: 112.7 kB / 4.013 GB, free: 60.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003252/8.553, allocations: 1.413 MB / 4.015 GB, free: 59.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/8.553, allocations: 4 kB / 4.015 GB, free: 59.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/8.553, allocations: 36 kB / 4.015 GB, free: 58.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/8.554, allocations: 42 kB / 4.015 GB, free: 58.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/8.557, allocations: 1.394 MB / 4.016 GB, free: 57.55 MB / 0.698 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.009192/8.566, allocations: 5.451 MB / 4.021 GB, free: 51.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/8.568, allocations: 1.131 MB / 4.023 GB, free: 50.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/8.569, allocations: 0.5547 MB / 4.023 GB, free: 50.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/8.57, allocations: 0.7552 MB / 4.024 GB, free: 49.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/8.572, allocations: 0.6445 MB / 4.024 GB, free: 48.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=81): time 3.316e-06/8.572, allocations: 0 / 4.024 GB, free: 48.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.004143/8.576, allocations: 1.691 MB / 4.026 GB, free: 46.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/8.576, allocations: 196.6 kB / 4.026 GB, free: 46.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/8.578, allocations: 1.339 MB / 4.028 GB, free: 45.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002257/8.578, allocations: 53.7 kB / 4.028 GB, free: 45.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/8.579, allocations: 0.651 MB / 4.028 GB, free: 44.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/8.579, allocations: 276 kB / 4.029 GB, free: 44.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/8.579, allocations: 20 kB / 4.029 GB, free: 44.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/8.579, allocations: 353.9 kB / 4.029 GB, free: 43.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/8.581, allocations: 0.5452 MB / 4.029 GB, free: 43.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/8.582, allocations: 0.8915 MB / 4.03 GB, free: 42.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/8.585, allocations: 1.273 MB / 4.032 GB, free: 40.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/8.585, allocations: 4 kB / 4.032 GB, free: 40.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003598/8.588, allocations: 1.575 MB / 4.033 GB, free: 39.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/8.588, allocations: 266.9 kB / 4.033 GB, free: 39.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/8.588, allocations: 4 kB / 4.033 GB, free: 39.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/8.589, allocations: 27.88 kB / 4.033 GB, free: 39.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/8.59, allocations: 355.5 kB / 4.034 GB, free: 38.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005782/8.591, allocations: 1.199 MB / 4.035 GB, free: 37.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/8.593, allocations: 246.7 kB / 4.035 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/8.593, allocations: 63.95 kB / 4.035 GB, free: 37.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/8.593, allocations: 5.203 kB / 4.035 GB, free: 37.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002913/8.596, allocations: 1.415 MB / 4.037 GB, free: 35.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/8.596, allocations: 15.92 kB / 4.037 GB, free: 35.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/8.596, allocations: 8 kB / 4.037 GB, free: 35.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/8.597, allocations: 323.8 kB / 4.037 GB, free: 35.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/8.597, allocations: 11.94 kB / 4.037 GB, free: 35.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/8.599, allocations: 238.8 kB / 4.037 GB, free: 35.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/8.599, allocations: 55.97 kB / 4.037 GB, free: 35.05 MB / 0.698 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 (134): * Single equations (assignments): 129 * 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.0009199/8.6, allocations: 423.4 kB / 4.038 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/8.601, allocations: 158 kB / 4.038 GB, free: 34.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/8.604, allocations: 1.392 MB / 4.039 GB, free: 33.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/8.604, allocations: 11.98 kB / 4.039 GB, free: 33.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/8.604, allocations: 3.938 kB / 4.039 GB, free: 33.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/8.604, allocations: 7.984 kB / 4.039 GB, free: 33.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005496/8.609, allocations: 2.907 MB / 4.042 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/8.609, allocations: 12.03 kB / 4.042 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/8.611, allocations: 235.7 kB / 4.042 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/8.611, allocations: 11.98 kB / 4.042 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/8.611, allocations: 27.98 kB / 4.042 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003947/8.611, allocations: 1.195 MB / 4.043 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/8.611, allocations: 4 kB / 4.043 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004034/8.615, allocations: 2.169 MB / 4.046 GB, free: 26.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/8.616, allocations: 370.8 kB / 4.046 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/8.616, allocations: 31.88 kB / 4.046 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/8.618, allocations: 139.9 kB / 4.046 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/8.618, allocations: 64.56 kB / 4.046 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.401e-05/8.618, allocations: 39.97 kB / 4.046 GB, free: 25.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001488/8.62, allocations: 0.8987 MB / 4.047 GB, free: 24.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/8.62, allocations: 7.938 kB / 4.047 GB, free: 24.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003758/8.623, allocations: 1.042 MB / 4.048 GB, free: 23.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (90): * Single equations (assignments): 84 * 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.003679/8.627, allocations: 2.158 MB / 4.05 GB, free: 21.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005174/8.632, allocations: 2.263 MB / 4.052 GB, free: 19.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/8.632, allocations: 4 kB / 4.052 GB, free: 19.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/8.634, allocations: 0.6728 MB / 4.053 GB, free: 18.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/8.638, allocations: 0.6888 MB / 4.054 GB, free: 17.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/8.644, allocations: 3.277 MB / 4.057 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/8.645, allocations: 1.235 MB / 4.058 GB, free: 13.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002279/8.647, allocations: 428 kB / 4.059 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/8.647, allocations: 123.4 kB / 4.059 GB, free: 12.62 MB / 0.698 GB Notification: Performance of SimCode: time 8.61e-07/8.647, allocations: 0 / 4.059 GB, free: 12.62 MB / 0.698 GB Notification: Performance of Templates: time 0.4483/9.096, allocations: 50.57 MB / 4.108 GB, free: 98.91 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)