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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.8022/0.8022, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 181.1 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.2 MB / 447.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 97.66 kB / 0.5188 GB, free: 2.953 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 264.3 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.000447, allocations: 16 kB / 0.6929 GB, free: 2.328 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4034, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.52/4.923, allocations: 2.146 GB / 2.92 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/4.923, allocations: 100.9 kB / 2.92 GB, free: 153.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.942/7.866, allocations: 0.9564 GB / 3.876 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/7.866, allocations: 0 / 3.876 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001534/7.866, allocations: 43.98 kB / 3.877 GB, free: 7.449 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007053/7.873, allocations: 2.384 MB / 3.879 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/7.873, allocations: 8.031 kB / 3.879 GB, free: 5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/7.876, allocations: 0.5519 MB / 3.879 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/7.88, allocations: 1.375 MB / 3.881 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008076/7.881, allocations: 226.3 kB / 3.881 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/7.881, allocations: 115.9 kB / 3.881 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/7.884, allocations: 1.371 MB / 3.882 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/7.885, allocations: 0 / 3.882 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/7.885, allocations: 36 kB / 3.882 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/7.885, allocations: 45.98 kB / 3.882 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3859/8.271, allocations: 1.354 MB / 3.884 GB, free: 98.75 MB / 0.7292 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.01844/8.289, allocations: 5.527 MB / 3.889 GB, free: 96.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/8.295, allocations: 1.14 MB / 3.89 GB, free: 96.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/8.296, allocations: 0.7472 MB / 3.891 GB, free: 96.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002796/8.299, allocations: 0.6669 MB / 3.892 GB, free: 95.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 5.069e-06/8.299, allocations: 1.094 kB / 3.892 GB, free: 95.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.008853/8.308, allocations: 1.74 MB / 3.893 GB, free: 95.83 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/8.308, allocations: 115 kB / 3.894 GB, free: 95.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/8.311, allocations: 1.156 MB / 3.895 GB, free: 95.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/8.312, allocations: 52.77 kB / 3.895 GB, free: 95.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/8.313, allocations: 0.6326 MB / 3.895 GB, free: 95.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/8.313, allocations: 281.9 kB / 3.896 GB, free: 95.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/8.313, allocations: 20.09 kB / 3.896 GB, free: 95.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001501/8.313, allocations: 348 kB / 3.896 GB, free: 94.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/8.316, allocations: 0.5484 MB / 3.896 GB, free: 94.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/8.319, allocations: 0.8583 MB / 3.897 GB, free: 94.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/8.322, allocations: 0.6316 MB / 3.898 GB, free: 94.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/8.322, allocations: 0 / 3.898 GB, free: 94.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006697/8.329, allocations: 1.558 MB / 3.899 GB, free: 94.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004065/8.329, allocations: 1.91 MB / 3.901 GB, free: 92.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/8.33, allocations: 3.656 kB / 3.901 GB, free: 92.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/8.33, allocations: 10.91 kB / 3.901 GB, free: 92.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/8.333, allocations: 353.8 kB / 3.902 GB, free: 92.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000679/8.333, allocations: 1.202 MB / 3.903 GB, free: 91.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/8.336, allocations: 239.9 kB / 3.903 GB, free: 91.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/8.336, allocations: 60.61 kB / 3.903 GB, free: 91.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/8.336, allocations: 3.375 kB / 3.903 GB, free: 91.25 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00391/8.34, allocations: 1.405 MB / 3.905 GB, free: 91.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/8.34, allocations: 4.656 kB / 3.905 GB, free: 91.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/8.34, allocations: 10.16 kB / 3.905 GB, free: 91.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/8.342, allocations: 340.4 kB / 3.905 GB, free: 91.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/8.342, allocations: 13.45 kB / 3.905 GB, free: 91.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/8.345, allocations: 230.8 kB / 3.905 GB, free: 91.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/8.345, allocations: 53 kB / 3.905 GB, free: 91.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0009139/8.346, allocations: 421.7 kB / 3.906 GB, free: 90.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/8.346, allocations: 156.1 kB / 3.906 GB, free: 90.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/8.349, allocations: 1.444 MB / 3.907 GB, free: 90.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/8.349, allocations: 12.06 kB / 3.907 GB, free: 90.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/8.349, allocations: 2.25 kB / 3.907 GB, free: 90.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/8.349, allocations: 6.984 kB / 3.907 GB, free: 90.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005839/8.355, allocations: 2.964 MB / 3.91 GB, free: 90.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/8.355, allocations: 3.938 kB / 3.91 GB, free: 90.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/8.357, allocations: 254.5 kB / 3.91 GB, free: 90.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/8.357, allocations: 9.031 kB / 3.91 GB, free: 90.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/8.357, allocations: 32.02 kB / 3.91 GB, free: 90.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003901/8.357, allocations: 1.192 MB / 3.911 GB, free: 89.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/8.357, allocations: 4.844 kB / 3.911 GB, free: 89.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/8.362, allocations: 2.418 MB / 3.914 GB, free: 88.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000933/8.363, allocations: 382.8 kB / 3.914 GB, free: 88.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/8.363, allocations: 27.16 kB / 3.914 GB, free: 88.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/8.365, allocations: 146.6 kB / 3.914 GB, free: 88.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/8.365, allocations: 79.64 kB / 3.914 GB, free: 88.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/8.365, allocations: 34.14 kB / 3.914 GB, free: 88.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001281/8.366, allocations: 0.8879 MB / 3.915 GB, free: 88.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.71e-07/8.366, allocations: 0 / 3.915 GB, free: 88.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00297/8.369, allocations: 0.9983 MB / 3.916 GB, free: 88.22 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[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.002993/8.372, allocations: 2.092 MB / 3.918 GB, free: 87.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004942/8.377, allocations: 2.189 MB / 3.92 GB, free: 87.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/8.377, allocations: 3.688 kB / 3.92 GB, free: 87.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/8.379, allocations: 0.6802 MB / 3.921 GB, free: 87.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/8.382, allocations: 0.6758 MB / 3.922 GB, free: 87.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/8.387, allocations: 3.254 MB / 3.925 GB, free: 86.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/8.387, allocations: 1.259 MB / 3.926 GB, free: 85.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001988/8.389, allocations: 427.6 kB / 3.927 GB, free: 85.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/8.39, allocations: 129.1 kB / 3.927 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/8.39, allocations: 0 / 3.927 GB, free: 85.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.06526/8.455, allocations: 48.76 MB / 3.974 GB, free: 83.54 MB / 0.7292 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)