Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8105/0.8105, 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.001116/0.001116, allocations: 190.2 kB / 187.3 MB, free: 11.87 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.553/1.553, allocations: 221.3 MB / 441.4 MB, free: 4.66 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.0009746/0.0009748, allocations: 95.14 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 272 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.28e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5157, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.03/5.545, allocations: 2.155 GB / 2.919 GB, free: 185.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/5.546, allocations: 96.56 kB / 2.92 GB, free: 185.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.274/8.819, allocations: 0.9263 GB / 3.846 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/8.819, allocations: 0 / 3.846 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000233/8.819, allocations: 47.92 kB / 3.846 GB, free: 54.33 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.007054/8.827, allocations: 1.941 MB / 3.848 GB, free: 52.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/8.827, allocations: 12.03 kB / 3.848 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/8.83, allocations: 0.5173 MB / 3.848 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/8.834, allocations: 1.223 MB / 3.85 GB, free: 50.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006507/8.834, allocations: 209.9 kB / 3.85 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/8.835, allocations: 99.77 kB / 3.85 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/8.837, allocations: 1.156 MB / 3.851 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/8.837, allocations: 4 kB / 3.851 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.964e-05/8.837, allocations: 32 kB / 3.851 GB, free: 49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/8.837, allocations: 41.98 kB / 3.851 GB, free: 48.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/8.839, allocations: 1.015 MB / 3.852 GB, free: 47.95 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.008052/8.847, allocations: 5.117 MB / 3.857 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/8.848, allocations: 0.7836 MB / 3.858 GB, free: 41.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/8.849, allocations: 480.3 kB / 3.858 GB, free: 41.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/8.85, allocations: 0.835 MB / 3.859 GB, free: 40.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007686/8.85, allocations: 0.606 MB / 3.86 GB, free: 39.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/8.85, allocations: 0 / 3.86 GB, free: 39.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.002133/8.853, allocations: 1.111 MB / 3.861 GB, free: 38.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/8.853, allocations: 127.5 kB / 3.861 GB, free: 38.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/8.854, allocations: 0.8888 MB / 3.862 GB, free: 37.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/8.854, allocations: 41.7 kB / 3.862 GB, free: 37.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/8.854, allocations: 0.5282 MB / 3.862 GB, free: 36.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/8.854, allocations: 276 kB / 3.863 GB, free: 36.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/8.854, allocations: 16 kB / 3.863 GB, free: 36.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/8.855, allocations: 341.9 kB / 3.863 GB, free: 36.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005544/8.855, allocations: 409.9 kB / 3.863 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/8.856, allocations: 0.625 MB / 3.864 GB, free: 35.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/8.856, allocations: 0.4942 MB / 3.864 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/8.856, allocations: 0 / 3.864 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001838/8.858, allocations: 1.295 MB / 3.866 GB, free: 33.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/8.859, allocations: 1.12 MB / 3.867 GB, free: 32.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/8.859, allocations: 4 kB / 3.867 GB, free: 32.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/8.859, allocations: 7.953 kB / 3.867 GB, free: 32.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/8.86, allocations: 275.6 kB / 3.867 GB, free: 31.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/8.86, allocations: 4 kB / 3.867 GB, free: 31.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/8.861, allocations: 222.8 kB / 3.867 GB, free: 31.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/8.862, allocations: 51.97 kB / 3.867 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/8.862, allocations: 4 kB / 3.867 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001684/8.863, allocations: 1.208 MB / 3.868 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/8.863, allocations: 4 kB / 3.868 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/8.863, allocations: 8 kB / 3.868 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/8.865, allocations: 263.9 kB / 3.869 GB, free: 30.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/8.865, allocations: 11.94 kB / 3.869 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/8.866, allocations: 203 kB / 3.869 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/8.866, allocations: 59.91 kB / 3.869 GB, free: 29.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003159/8.866, allocations: 228.1 kB / 3.869 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/8.867, allocations: 126.6 kB / 3.869 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/8.869, allocations: 1.328 MB / 3.871 GB, free: 28.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/8.869, allocations: 12 kB / 3.871 GB, free: 28.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/8.869, allocations: 4 kB / 3.871 GB, free: 28.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/8.869, allocations: 3.984 kB / 3.871 GB, free: 28.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/8.873, allocations: 2.805 MB / 3.873 GB, free: 25.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/8.873, allocations: 4 kB / 3.873 GB, free: 25.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009641/8.874, allocations: 212.1 kB / 3.874 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/8.874, allocations: 8 kB / 3.874 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/8.874, allocations: 31.98 kB / 3.874 GB, free: 24.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/8.874, allocations: 15.92 kB / 3.874 GB, free: 24.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/8.874, allocations: 7.938 kB / 3.874 GB, free: 24.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/8.876, allocations: 2.175 MB / 3.876 GB, free: 22.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/8.877, allocations: 359 kB / 3.876 GB, free: 22.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/8.877, allocations: 24 kB / 3.876 GB, free: 22.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/8.878, allocations: 139.8 kB / 3.876 GB, free: 22.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/8.878, allocations: 64.44 kB / 3.876 GB, free: 21.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/8.878, allocations: 47.97 kB / 3.876 GB, free: 21.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007883/8.879, allocations: 0.6905 MB / 3.877 GB, free: 21.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/8.879, allocations: 0 / 3.877 GB, free: 21.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003011/8.882, allocations: 1.01 MB / 3.878 GB, free: 20.21 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003171/8.885, allocations: 2.232 MB / 3.88 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002507/8.888, allocations: 1.938 MB / 3.882 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/8.888, allocations: 4 kB / 3.882 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/8.889, allocations: 0.6739 MB / 3.883 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/8.891, allocations: 0.5034 MB / 3.883 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/8.894, allocations: 1.787 MB / 3.885 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/8.895, allocations: 1.182 MB / 3.886 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001983/8.897, allocations: 448.6 kB / 3.887 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/8.897, allocations: 95.39 kB / 3.887 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.002e-06/8.897, allocations: 0 / 3.887 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.5899/9.487, allocations: 52.31 MB / 3.938 GB, free: 103.2 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)