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.8364/0.8364, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001404/0.001404, allocations: 167.9 kB / 182.2 MB, free: 9.477 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.564/1.564, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001264/0.001264, allocations: 86.55 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 275.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.691e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.513/0.5131, allocations: 82.78 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.115/5.628, allocations: 2.155 GB / 2.912 GB, free: 133.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/5.628, allocations: 95.5 kB / 2.912 GB, free: 133.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.271/8.899, allocations: 0.9174 GB / 3.829 GB, free: 2.688 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.112e-06/8.899, allocations: 0 / 3.829 GB, free: 2.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000196/8.899, allocations: 35.98 kB / 3.829 GB, free: 2.652 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00676/8.906, allocations: 1.948 MB / 3.831 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/8.906, allocations: 8.031 kB / 3.831 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/8.909, allocations: 0.525 MB / 3.832 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/8.913, allocations: 1.212 MB / 3.833 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006776/8.914, allocations: 181.6 kB / 3.833 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/8.915, allocations: 60 kB / 3.833 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002598/8.917, allocations: 0.9216 MB / 3.834 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/8.919, allocations: 1.031 MB / 3.835 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/8.919, allocations: 7.922 kB / 3.835 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/8.919, allocations: 3.938 kB / 3.835 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/8.92, allocations: 38 kB / 3.835 GB, free: 12.58 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.01017/8.93, allocations: 4.91 MB / 3.84 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/8.931, allocations: 0.8177 MB / 3.841 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/8.932, allocations: 451.4 kB / 3.841 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/8.933, allocations: 0.8429 MB / 3.842 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/8.934, allocations: 0.6116 MB / 3.843 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 2.795e-06/8.934, allocations: 0 / 3.843 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.002925/8.937, allocations: 1.135 MB / 3.844 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/8.937, allocations: 141.3 kB / 3.844 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/8.938, allocations: 0.7381 MB / 3.845 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/8.938, allocations: 29.7 kB / 3.845 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/8.938, allocations: 0.5393 MB / 3.845 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/8.939, allocations: 260 kB / 3.846 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/8.939, allocations: 4 kB / 3.846 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001368/8.939, allocations: 342 kB / 3.846 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/8.939, allocations: 394.5 kB / 3.846 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/8.94, allocations: 0.5918 MB / 3.847 GB, free: 132 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5789/9.519, allocations: 0.5403 MB / 3.847 GB, free: 90.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/9.519, allocations: 1.156 kB / 3.847 GB, free: 90.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004376/9.523, allocations: 1.282 MB / 3.849 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003603/9.524, allocations: 1.205 MB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/9.524, allocations: 4.984 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/9.524, allocations: 10.94 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/9.525, allocations: 268.9 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/9.525, allocations: 7.469 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/9.527, allocations: 187.4 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/9.527, allocations: 52.97 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/9.527, allocations: 5.062 kB / 3.85 GB, free: 89.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00317/9.531, allocations: 1.176 MB / 3.851 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/9.531, allocations: 6.781 kB / 3.851 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/9.531, allocations: 8.438 kB / 3.851 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/9.532, allocations: 265.8 kB / 3.852 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/9.532, allocations: 16.73 kB / 3.852 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/9.534, allocations: 166.5 kB / 3.852 GB, free: 89.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/9.534, allocations: 54.64 kB / 3.852 GB, free: 89.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.000391/9.534, allocations: 197.6 kB / 3.852 GB, free: 89.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/9.535, allocations: 118.6 kB / 3.852 GB, free: 89.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/9.537, allocations: 1.284 MB / 3.853 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/9.538, allocations: 13.2 kB / 3.853 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/9.538, allocations: 0 / 3.853 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/9.538, allocations: 6.984 kB / 3.853 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/9.542, allocations: 2.711 MB / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/9.542, allocations: 0 / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000967/9.543, allocations: 208 kB / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/9.543, allocations: 6.938 kB / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/9.543, allocations: 21.98 kB / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/9.543, allocations: 14.25 kB / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/9.543, allocations: 13.09 kB / 3.856 GB, free: 88.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/9.547, allocations: 2.115 MB / 3.858 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/9.547, allocations: 345.5 kB / 3.859 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/9.548, allocations: 10.62 kB / 3.859 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/9.549, allocations: 130.3 kB / 3.859 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/9.549, allocations: 72.11 kB / 3.859 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/9.549, allocations: 54.52 kB / 3.859 GB, free: 88.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007978/9.55, allocations: 0.5508 MB / 3.86 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.082e-06/9.55, allocations: 0 / 3.86 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003305/9.553, allocations: 0.9366 MB / 3.86 GB, free: 88.04 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.004433/9.558, allocations: 2.429 MB / 3.863 GB, free: 87.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002977/9.561, allocations: 1.847 MB / 3.865 GB, free: 87.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/9.561, allocations: 3.281 kB / 3.865 GB, free: 87.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009502/9.562, allocations: 0.6403 MB / 3.865 GB, free: 87.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/9.564, allocations: 430.9 kB / 3.866 GB, free: 87.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/9.568, allocations: 1.727 MB / 3.867 GB, free: 86.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/9.569, allocations: 1.183 MB / 3.869 GB, free: 85.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002131/9.571, allocations: 413 kB / 3.869 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/9.571, allocations: 87.11 kB / 3.869 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/9.571, allocations: 0 / 3.869 GB, free: 85.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.05368/9.625, allocations: 33.6 MB / 3.902 GB, free: 84.93 MB / 0.7136 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)