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.814/0.814, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 181.6 kB / 187.3 MB, free: 11.89 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.769/1.769, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.001025/0.001025, allocations: 91.64 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 271.1 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.291e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5346, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.489, allocations: 2.146 GB / 2.91 GB, free: 125.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/6.49, allocations: 94.45 kB / 2.911 GB, free: 125.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.905/10.39, allocations: 0.9548 GB / 3.865 GB, free: 100 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.195e-06/10.39, allocations: 0 / 3.865 GB, free: 100 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002232/10.39, allocations: 41.69 kB / 3.865 GB, free: 100 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.007004/10.4, allocations: 2.088 MB / 3.867 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/10.4, allocations: 8.438 kB / 3.867 GB, free: 99.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/10.41, allocations: 0.5465 MB / 3.868 GB, free: 99.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/10.41, allocations: 1.362 MB / 3.869 GB, free: 99.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006491/10.41, allocations: 221 kB / 3.87 GB, free: 99.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/10.41, allocations: 115.5 kB / 3.87 GB, free: 99.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/10.41, allocations: 1.208 MB / 3.871 GB, free: 98.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/10.41, allocations: 0 / 3.871 GB, free: 98.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/10.41, allocations: 39.38 kB / 3.871 GB, free: 98.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/10.41, allocations: 46.11 kB / 3.871 GB, free: 98.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/10.41, allocations: 1.036 MB / 3.872 GB, free: 98.88 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.008455/10.42, allocations: 5.52 MB / 3.877 GB, free: 96.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/10.42, allocations: 0.7854 MB / 3.878 GB, free: 96.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/10.42, allocations: 421.5 kB / 3.879 GB, free: 96.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008233/10.42, allocations: 0.7563 MB / 3.879 GB, free: 96.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000754/10.43, allocations: 0.519 MB / 3.88 GB, free: 95.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/10.43, allocations: 3.188 kB / 3.88 GB, free: 95.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.001896/10.43, allocations: 0.9441 MB / 3.881 GB, free: 95.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/10.43, allocations: 114.2 kB / 3.881 GB, free: 95.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/10.43, allocations: 1.137 MB / 3.882 GB, free: 95.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/10.43, allocations: 53.23 kB / 3.882 GB, free: 95.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/10.43, allocations: 0.6312 MB / 3.883 GB, free: 95.33 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/10.43, allocations: 281.3 kB / 3.883 GB, free: 95.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/10.43, allocations: 21.34 kB / 3.883 GB, free: 95.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/10.43, allocations: 348.9 kB / 3.883 GB, free: 94.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/10.43, allocations: 395.7 kB / 3.884 GB, free: 94.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/10.43, allocations: 0.6985 MB / 3.884 GB, free: 94.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/10.43, allocations: 488.1 kB / 3.885 GB, free: 94.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/10.43, allocations: 0 / 3.885 GB, free: 94.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002062/10.43, allocations: 1.25 MB / 3.886 GB, free: 94.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004142/10.43, allocations: 1.905 MB / 3.888 GB, free: 92.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/10.43, allocations: 3.938 kB / 3.888 GB, free: 92.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/10.43, allocations: 14.06 kB / 3.888 GB, free: 92.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/10.44, allocations: 350.1 kB / 3.888 GB, free: 92.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005573/10.44, allocations: 1.197 MB / 3.889 GB, free: 91.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/10.44, allocations: 249 kB / 3.89 GB, free: 91.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/10.44, allocations: 58.66 kB / 3.89 GB, free: 91.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/10.44, allocations: 3.75 kB / 3.89 GB, free: 91.23 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/10.44, allocations: 1.095 MB / 3.891 GB, free: 91.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/10.44, allocations: 7.344 kB / 3.891 GB, free: 91.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/10.44, allocations: 10.56 kB / 3.891 GB, free: 91.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/10.44, allocations: 338 kB / 3.891 GB, free: 91.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/10.44, allocations: 11.31 kB / 3.891 GB, free: 91.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/10.44, allocations: 233.5 kB / 3.891 GB, free: 91.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/10.44, allocations: 55.83 kB / 3.891 GB, free: 91.14 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 () * 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.000303/10.44, allocations: 172.4 kB / 3.891 GB, free: 91.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/10.44, allocations: 154.2 kB / 3.892 GB, free: 90.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/10.45, allocations: 1.116 MB / 3.893 GB, free: 90.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/10.45, allocations: 14.47 kB / 3.893 GB, free: 90.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/10.45, allocations: 0 / 3.893 GB, free: 90.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/10.45, allocations: 10.98 kB / 3.893 GB, free: 90.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/10.45, allocations: 2.658 MB / 3.895 GB, free: 90.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/10.45, allocations: 7.312 kB / 3.895 GB, free: 90.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/10.45, allocations: 250.5 kB / 3.896 GB, free: 90.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/10.45, allocations: 6.812 kB / 3.896 GB, free: 90.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/10.45, allocations: 37.83 kB / 3.896 GB, free: 90.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003654/10.45, allocations: 1.185 MB / 3.897 GB, free: 89.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/10.45, allocations: 4.594 kB / 3.897 GB, free: 89.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/10.45, allocations: 1.954 MB / 3.899 GB, free: 88.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/10.46, allocations: 377.4 kB / 3.899 GB, free: 88.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/10.46, allocations: 22.09 kB / 3.899 GB, free: 88.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/10.46, allocations: 143.3 kB / 3.899 GB, free: 88.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/10.46, allocations: 76.33 kB / 3.899 GB, free: 88.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/10.46, allocations: 45.34 kB / 3.899 GB, free: 88.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001157/10.46, allocations: 0.8612 MB / 3.9 GB, free: 88.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/10.46, allocations: 0 / 3.9 GB, free: 88.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003137/10.46, allocations: 0.998 MB / 3.901 GB, free: 88.23 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) * 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.003149/10.46, allocations: 2.092 MB / 3.903 GB, free: 87.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003075/10.47, allocations: 1.767 MB / 3.905 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/10.47, allocations: 4.281 kB / 3.905 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000841/10.47, allocations: 0.5299 MB / 3.905 GB, free: 87.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003406/10.47, allocations: 0.6776 MB / 3.906 GB, free: 87.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/10.48, allocations: 2.061 MB / 3.908 GB, free: 86.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/10.48, allocations: 1.258 MB / 3.909 GB, free: 86.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002464/10.48, allocations: 0.5147 MB / 3.91 GB, free: 86.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/10.48, allocations: 109.5 kB / 3.91 GB, free: 86.11 MB / 0.7292 GB Notification: Performance of SimCode: time 1.232e-06/10.48, allocations: 0 / 3.91 GB, free: 86.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.1113/10.59, allocations: 55.58 MB / 3.964 GB, free: 84.07 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)