Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8847/0.8847, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001313/0.001313, allocations: 171.6 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.587/1.587, allocations: 223.2 MB / 447.7 MB, free: 6.547 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.0008334/0.0008334, allocations: 80.34 kB / 0.5188 GB, free: 2.898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 268.3 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.000476, allocations: 16 kB / 0.6929 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.392, allocations: 82.77 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.5421, allocations: 111.1 MB / 0.8822 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5424, allocations: 87.83 kB / 0.8823 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.5652, allocations: 7.647 MB / 0.8898 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5653, allocations: 0 / 0.8898 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.5653, allocations: 4 kB / 0.8898 GB, free: 3.23 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001046/0.5663, allocations: 0.6153 MB / 0.8904 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5664, allocations: 12.77 kB / 0.8904 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.5666, allocations: 27.72 kB / 0.8904 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.5671, allocations: 294.6 kB / 0.8907 GB, free: 2.199 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5671, allocations: 16.23 kB / 0.8907 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.5671, allocations: 16 kB / 0.8907 GB, free: 2.168 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.5677, allocations: 249.1 kB / 0.8909 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5678, allocations: 0 / 0.8909 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5678, allocations: 8 kB / 0.891 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5678, allocations: 4 kB / 0.891 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.5684, allocations: 243.7 kB / 0.8912 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.5697, allocations: 0.9618 MB / 0.8921 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.5704, allocations: 269.1 kB / 0.8924 GB, free: 348 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.5705, allocations: 0 / 0.8924 GB, free: 348 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.5705, allocations: 46.5 kB / 0.8924 GB, free: 292 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.011e-06/0.5705, allocations: 0 / 0.8924 GB, free: 292 kB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001192/0.5717, allocations: 409.5 kB / 0.8928 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.5718, allocations: 81.11 kB / 0.8929 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.572, allocations: 234.1 kB / 0.8931 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.572, allocations: 29.7 kB / 0.8932 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5721, allocations: 156.1 kB / 0.8933 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.5722, allocations: 51.27 kB / 0.8933 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.5722, allocations: 4 kB / 0.8934 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5723, allocations: 338.8 kB / 0.8937 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.5727, allocations: 115.9 kB / 0.8938 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.573, allocations: 155.1 kB / 0.8939 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.5734, allocations: 127.8 kB / 0.8941 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5734, allocations: 0 / 0.8941 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008429/0.5742, allocations: 337.1 kB / 0.8944 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5743, allocations: 7.953 kB / 0.8944 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5743, allocations: 0 / 0.8944 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5743, allocations: 4.094 kB / 0.8944 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.5746, allocations: 76 kB / 0.8945 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.5747, allocations: 11.94 kB / 0.8945 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.5749, allocations: 51.66 kB / 0.8945 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.5749, allocations: 11.98 kB / 0.8945 GB, free: 14.06 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001475/0.5751, allocations: 133.8 kB / 0.8947 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5752, allocations: 23.72 kB / 0.8947 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008908/0.5761, allocations: 331.1 kB / 0.895 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.5761, allocations: 4 kB / 0.895 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5761, allocations: 0 / 0.895 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5761, allocations: 0 / 0.895 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.5765, allocations: 297.3 kB / 0.8953 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5765, allocations: 0 / 0.8953 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.5768, allocations: 79.88 kB / 0.8954 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5768, allocations: 0 / 0.8954 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5769, allocations: 4 kB / 0.8954 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5769, allocations: 3.953 kB / 0.8954 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5769, allocations: 0 / 0.8954 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.5777, allocations: 0.494 MB / 0.8959 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.5778, allocations: 100.8 kB / 0.896 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.5779, allocations: 4 kB / 0.896 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.5781, allocations: 31.97 kB / 0.896 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.5782, allocations: 27.92 kB / 0.896 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.5782, allocations: 7.938 kB / 0.896 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001867/0.5784, allocations: 190 kB / 0.8962 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5784, allocations: 0 / 0.8962 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003677/0.5788, allocations: 68.09 kB / 0.8963 GB, free: 12.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002116/0.579, allocations: 120.1 kB / 0.8964 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007878/0.5798, allocations: 275.9 kB / 0.8966 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5798, allocations: 0 / 0.8966 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.5802, allocations: 135.9 kB / 0.8968 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.5807, allocations: 62.91 kB / 0.8968 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/0.5815, allocations: 0.4979 MB / 0.8973 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.5818, allocations: 0.7635 MB / 0.8981 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.582, allocations: 42.88 kB / 0.8981 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.5821, allocations: 19.44 kB / 0.8981 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.5821, allocations: 0 / 0.8981 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.006893/0.589, allocations: 3.393 MB / 0.9014 GB, free: 6.895 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)