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.8325/0.8325, allocations: 143.4 MB / 158.3 MB, free: 5.801 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.001492/0.001492, allocations: 183.5 kB / 191.5 MB, free: 5.766 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.447/1.447, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.00104/0.00104, allocations: 92.27 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 270 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004306, allocations: 14.5 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1663, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.78/4.946, allocations: 2.155 GB / 2.929 GB, free: 212.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/4.947, allocations: 92.75 kB / 2.929 GB, free: 212.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.9/7.847, allocations: 0.9277 GB / 3.857 GB, free: 88.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/7.847, allocations: 0 / 3.857 GB, free: 88.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001244/7.847, allocations: 44.14 kB / 3.857 GB, free: 88.31 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.006128/7.853, allocations: 2.174 MB / 3.859 GB, free: 86.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/7.853, allocations: 14.55 kB / 3.859 GB, free: 86.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/7.856, allocations: 0.5167 MB / 3.859 GB, free: 86.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/7.86, allocations: 1.239 MB / 3.861 GB, free: 85.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/7.86, allocations: 205.7 kB / 3.861 GB, free: 85.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/7.861, allocations: 104.2 kB / 3.861 GB, free: 85.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/7.863, allocations: 1.289 MB / 3.862 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/7.863, allocations: 0 / 3.862 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/7.863, allocations: 35.47 kB / 3.862 GB, free: 85.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/7.863, allocations: 42.17 kB / 3.862 GB, free: 85.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002739/7.866, allocations: 1.284 MB / 3.864 GB, free: 85.27 MB / 0.7136 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.009072/7.875, allocations: 5.107 MB / 3.869 GB, free: 80.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/7.878, allocations: 1.091 MB / 3.87 GB, free: 79.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009967/7.879, allocations: 0.8349 MB / 3.87 GB, free: 78.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/7.88, allocations: 0.7352 MB / 3.871 GB, free: 77.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 4.459e-06/7.88, allocations: 7.375 kB / 3.871 GB, free: 77.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.004498/7.885, allocations: 2.025 MB / 3.873 GB, free: 75.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/7.885, allocations: 119.4 kB / 3.873 GB, free: 75.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/7.886, allocations: 0.9109 MB / 3.874 GB, free: 74.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/7.886, allocations: 45.7 kB / 3.874 GB, free: 74.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/7.887, allocations: 0.5204 MB / 3.875 GB, free: 73.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/7.887, allocations: 284 kB / 3.875 GB, free: 73.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/7.887, allocations: 16 kB / 3.875 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/7.887, allocations: 349.9 kB / 3.875 GB, free: 73.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/7.888, allocations: 0.5329 MB / 3.876 GB, free: 72.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/7.89, allocations: 0.7578 MB / 3.877 GB, free: 71.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/7.891, allocations: 0.6236 MB / 3.877 GB, free: 71.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/7.891, allocations: 0 / 3.877 GB, free: 71.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003414/7.895, allocations: 1.569 MB / 3.879 GB, free: 69.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002649/7.895, allocations: 1.116 MB / 3.88 GB, free: 68.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/7.895, allocations: 0 / 3.88 GB, free: 68.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/7.895, allocations: 12 kB / 3.88 GB, free: 68.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.896, allocations: 267.6 kB / 3.88 GB, free: 68.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/7.896, allocations: 8 kB / 3.88 GB, free: 68.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/7.898, allocations: 226.9 kB / 3.88 GB, free: 67.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/7.898, allocations: 59.89 kB / 3.88 GB, free: 67.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/7.898, allocations: 4 kB / 3.88 GB, free: 67.82 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003153/7.901, allocations: 1.487 MB / 3.882 GB, free: 66.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/7.901, allocations: 4 kB / 3.882 GB, free: 66.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/7.901, allocations: 4 kB / 3.882 GB, free: 66.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/7.903, allocations: 263.7 kB / 3.882 GB, free: 66.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/7.903, allocations: 11.94 kB / 3.882 GB, free: 66.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/7.904, allocations: 203.1 kB / 3.882 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/7.904, allocations: 51.97 kB / 3.882 GB, free: 65.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 () * Number of clocked 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.0009462/7.905, allocations: 460.8 kB / 3.883 GB, free: 65.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/7.906, allocations: 134.4 kB / 3.883 GB, free: 65.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/7.909, allocations: 1.584 MB / 3.884 GB, free: 63.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/7.909, allocations: 8 kB / 3.884 GB, free: 63.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/7.909, allocations: 0 / 3.884 GB, free: 63.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/7.909, allocations: 3.984 kB / 3.884 GB, free: 63.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/7.914, allocations: 3.072 MB / 3.887 GB, free: 60.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/7.914, allocations: 4 kB / 3.887 GB, free: 60.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/7.915, allocations: 207.8 kB / 3.888 GB, free: 60.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/7.915, allocations: 11.95 kB / 3.888 GB, free: 60.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/7.915, allocations: 35.97 kB / 3.888 GB, free: 60.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/7.915, allocations: 4 kB / 3.888 GB, free: 60.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/7.915, allocations: 11.94 kB / 3.888 GB, free: 60.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/7.92, allocations: 2.568 MB / 3.89 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/7.921, allocations: 359.1 kB / 3.891 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/7.921, allocations: 27.66 kB / 3.891 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/7.922, allocations: 139.8 kB / 3.891 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/7.922, allocations: 64.44 kB / 3.891 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/7.922, allocations: 47.97 kB / 3.891 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001011/7.923, allocations: 0.7087 MB / 3.892 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/7.923, allocations: 0 / 3.892 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003487/7.927, allocations: 1.003 MB / 3.892 GB, free: 55.06 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) * Number of clocked states: 0 () * 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.004201/7.931, allocations: 2.242 MB / 3.895 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005322/7.936, allocations: 2.313 MB / 3.897 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/7.937, allocations: 4 kB / 3.897 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001696/7.938, allocations: 0.7996 MB / 3.898 GB, free: 49.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/7.941, allocations: 0.4935 MB / 3.898 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/7.946, allocations: 2.825 MB / 3.901 GB, free: 46.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/7.947, allocations: 1.184 MB / 3.902 GB, free: 45.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002017/7.949, allocations: 371 kB / 3.902 GB, free: 44.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/7.95, allocations: 107.4 kB / 3.903 GB, free: 44.62 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/7.95, allocations: 0 / 3.903 GB, free: 44.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.05846/8.008, allocations: 45.72 MB / 3.947 GB, free: 15.38 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)