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.8455/0.8455, 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.001025/0.001025, allocations: 181.7 kB / 187.3 MB, free: 11.89 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.366/1.366, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008594/0.0008594, allocations: 92.91 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001756, allocations: 277 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.022e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4825, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.6127, allocations: 111 MB / 0.8727 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.613, allocations: 80.39 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02251/0.6355, allocations: 7.634 MB / 0.8802 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6356, allocations: 0 / 0.8802 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.6356, allocations: 12 kB / 0.8802 GB, free: 5.793 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.001006/0.6366, allocations: 0.5526 MB / 0.8808 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.6367, allocations: 8.031 kB / 0.8808 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.6369, allocations: 35.61 kB / 0.8808 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.6374, allocations: 286.7 kB / 0.8811 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.6374, allocations: 20.23 kB / 0.8811 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.6375, allocations: 12 kB / 0.8811 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.6378, allocations: 180.7 kB / 0.8813 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6378, allocations: 0 / 0.8813 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.6378, allocations: 4 kB / 0.8813 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.6379, allocations: 4 kB / 0.8813 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.6381, allocations: 111.9 kB / 0.8814 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.6393, allocations: 0.9579 MB / 0.8824 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.6398, allocations: 193.4 kB / 0.8825 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.64, allocations: 69.94 kB / 0.8826 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.64, allocations: 4 kB / 0.8826 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.64, allocations: 34.56 kB / 0.8826 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.64, allocations: 0 / 0.8826 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0004147/0.6405, allocations: 160.4 kB / 0.8828 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.6405, allocations: 81.09 kB / 0.8829 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.6408, allocations: 235.4 kB / 0.8831 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.6408, allocations: 29.7 kB / 0.8831 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6409, allocations: 160.2 kB / 0.8833 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.641, allocations: 55.2 kB / 0.8833 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.641, allocations: 0 / 0.8833 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6411, allocations: 338.8 kB / 0.8837 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.6412, allocations: 43.94 kB / 0.8837 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.6414, allocations: 98.61 kB / 0.8838 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.6415, allocations: 51.92 kB / 0.8838 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6415, allocations: 0 / 0.8838 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000348/0.6418, allocations: 209.1 kB / 0.884 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.6419, allocations: 8 kB / 0.884 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6419, allocations: 96 / 0.884 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.6419, allocations: 7.938 kB / 0.8841 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.6422, allocations: 71.88 kB / 0.8841 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6423, allocations: 4 kB / 0.8841 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.6425, allocations: 55.86 kB / 0.8842 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.6425, allocations: 4 kB / 0.8842 GB, free: 1.469 MB / 0.5417 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 () * 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 9.006e-05/0.6426, allocations: 116.9 kB / 0.8843 GB, free: 1.348 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.6427, allocations: 27.67 kB / 0.8843 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.6431, allocations: 201.6 kB / 0.8845 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6431, allocations: 0 / 0.8845 GB, free: 1.121 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6431, allocations: 4 kB / 0.8845 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.6431, allocations: 0 / 0.8845 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.6435, allocations: 293.4 kB / 0.8848 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6435, allocations: 0 / 0.8848 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.6438, allocations: 71.94 kB / 0.8849 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.6438, allocations: 4 kB / 0.8849 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.6438, allocations: 3.953 kB / 0.8849 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6438, allocations: 3.938 kB / 0.8849 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6438, allocations: 0 / 0.8849 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.6442, allocations: 361.7 kB / 0.8852 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.6443, allocations: 104.8 kB / 0.8853 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.6444, allocations: 4 kB / 0.8853 GB, free: 204 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.6446, allocations: 43.92 kB / 0.8854 GB, free: 160 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.6447, allocations: 19.97 kB / 0.8854 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.6447, allocations: 4 kB / 0.8854 GB, free: 136 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001756/0.6449, allocations: 187.1 kB / 0.8856 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6449, allocations: 0 / 0.8856 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003499/0.6453, allocations: 68.27 kB / 0.8856 GB, free: 15.89 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 () * 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.0002158/0.6455, allocations: 115.2 kB / 0.8857 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.6458, allocations: 131.8 kB / 0.8859 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6458, allocations: 0 / 0.8859 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.6459, allocations: 75.88 kB / 0.8859 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.6464, allocations: 69.66 kB / 0.886 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.647, allocations: 308.5 kB / 0.8863 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.6473, allocations: 0.7558 MB / 0.887 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.6474, allocations: 35.92 kB / 0.8871 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.6475, allocations: 19.44 kB / 0.8871 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.6475, allocations: 0 / 0.8871 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of Templates: time 0.006832/0.6544, allocations: 3.402 MB / 0.8904 GB, free: 11.01 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)