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.9854/0.9854, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001354/0.001354, allocations: 176.8 kB / 182.2 MB, free: 9.453 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.679/1.679, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.001099/0.001099, allocations: 80.12 kB / 0.5074 GB, free: 10.08 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002479, allocations: 283.4 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.837e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6083, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.735, allocations: 2.146 GB / 2.903 GB, free: 141.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/6.735, allocations: 95.14 kB / 2.903 GB, free: 141.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.796/10.53, allocations: 0.9467 GB / 3.85 GB, free: 93.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/10.53, allocations: 3.594 kB / 3.85 GB, free: 93.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000174/10.53, allocations: 49.09 kB / 3.85 GB, free: 93.06 MB / 0.7136 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.006954/10.54, allocations: 2.079 MB / 3.852 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/10.54, allocations: 14.19 kB / 3.852 GB, free: 92.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/10.54, allocations: 0.547 MB / 3.852 GB, free: 92.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/10.55, allocations: 1.363 MB / 3.854 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006334/10.55, allocations: 170.4 kB / 3.854 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/10.55, allocations: 72.66 kB / 3.854 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001961/10.55, allocations: 0.9346 MB / 3.855 GB, free: 92.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/10.55, allocations: 1.065 MB / 3.856 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/10.55, allocations: 6.156 kB / 3.856 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/10.55, allocations: 1.469 kB / 3.856 GB, free: 91.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/10.55, allocations: 46.94 kB / 3.856 GB, free: 91.91 MB / 0.7136 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.009579/10.56, allocations: 5.288 MB / 3.861 GB, free: 89.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/10.56, allocations: 0.7465 MB / 3.862 GB, free: 89.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/10.56, allocations: 396.7 kB / 3.862 GB, free: 89.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009405/10.56, allocations: 0.756 MB / 3.863 GB, free: 89.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009221/10.56, allocations: 498.2 kB / 3.863 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.078e-06/10.56, allocations: 0 / 3.863 GB, free: 89.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.002211/10.57, allocations: 0.9609 MB / 3.864 GB, free: 88.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/10.57, allocations: 116.8 kB / 3.864 GB, free: 88.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/10.57, allocations: 0.8949 MB / 3.865 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/10.57, allocations: 30 kB / 3.865 GB, free: 88.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/10.57, allocations: 0.6504 MB / 3.866 GB, free: 88.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/10.57, allocations: 272.8 kB / 3.866 GB, free: 88.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/10.57, allocations: 0.5312 kB / 3.866 GB, free: 88.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/10.57, allocations: 345.1 kB / 3.867 GB, free: 87.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/10.57, allocations: 382.1 kB / 3.867 GB, free: 87.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/10.57, allocations: 0.6796 MB / 3.868 GB, free: 87.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/10.57, allocations: 0.4948 MB / 3.868 GB, free: 87.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/10.57, allocations: 1.812 kB / 3.868 GB, free: 87.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002585/10.57, allocations: 1.206 MB / 3.869 GB, free: 87.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004207/10.57, allocations: 2.056 MB / 3.871 GB, free: 85.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/10.57, allocations: 10.47 kB / 3.871 GB, free: 85.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/10.57, allocations: 13.34 kB / 3.871 GB, free: 85.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/10.58, allocations: 355.5 kB / 3.872 GB, free: 85.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005107/10.58, allocations: 1.206 MB / 3.873 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/10.58, allocations: 201.3 kB / 3.873 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/10.58, allocations: 64.27 kB / 3.873 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/10.58, allocations: 5.469 kB / 3.873 GB, free: 84.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/10.58, allocations: 1.025 MB / 3.874 GB, free: 84.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/10.58, allocations: 11.11 kB / 3.874 GB, free: 84.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/10.58, allocations: 14.86 kB / 3.874 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/10.58, allocations: 336.9 kB / 3.874 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/10.58, allocations: 15.97 kB / 3.874 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/10.58, allocations: 174.4 kB / 3.875 GB, free: 84.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/10.58, allocations: 58.16 kB / 3.875 GB, free: 84.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002974/10.58, allocations: 132.9 kB / 3.875 GB, free: 84.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/10.58, allocations: 139.8 kB / 3.875 GB, free: 83.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/10.59, allocations: 1.093 MB / 3.876 GB, free: 83.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/10.59, allocations: 15.55 kB / 3.876 GB, free: 83.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/10.59, allocations: 0 / 3.876 GB, free: 83.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/10.59, allocations: 6.609 kB / 3.876 GB, free: 83.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/10.59, allocations: 2.52 MB / 3.878 GB, free: 83.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/10.59, allocations: 4.969 kB / 3.878 GB, free: 83.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/10.59, allocations: 247.9 kB / 3.879 GB, free: 83.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/10.59, allocations: 8.812 kB / 3.879 GB, free: 83.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/10.59, allocations: 20.97 kB / 3.879 GB, free: 83.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003722/10.59, allocations: 1.194 MB / 3.88 GB, free: 82.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/10.59, allocations: 8.406 kB / 3.88 GB, free: 82.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/10.59, allocations: 1.915 MB / 3.882 GB, free: 81.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006733/10.59, allocations: 360.7 kB / 3.882 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/10.6, allocations: 7.031 kB / 3.882 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/10.6, allocations: 131.2 kB / 3.882 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/10.6, allocations: 74.08 kB / 3.882 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/10.6, allocations: 43.08 kB / 3.882 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008394/10.6, allocations: 0.6606 MB / 3.883 GB, free: 81.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/10.6, allocations: 0 / 3.883 GB, free: 81.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002972/10.6, allocations: 0.9392 MB / 3.884 GB, free: 81.29 MB / 0.7136 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.0032/10.6, allocations: 2.293 MB / 3.886 GB, free: 80.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003034/10.61, allocations: 1.685 MB / 3.888 GB, free: 80.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/10.61, allocations: 0 / 3.888 GB, free: 80.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/10.61, allocations: 0.505 MB / 3.888 GB, free: 80.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/10.61, allocations: 0.5006 MB / 3.889 GB, free: 80.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/10.62, allocations: 1.978 MB / 3.891 GB, free: 79.92 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/10.62, allocations: 1.257 MB / 3.892 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002496/10.62, allocations: 466.1 kB / 3.892 GB, free: 79.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/10.62, allocations: 99.16 kB / 3.892 GB, free: 79.18 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/10.62, allocations: 0 / 3.892 GB, free: 79.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.0522/10.67, allocations: 35.25 MB / 3.927 GB, free: 77.85 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)