Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110.2 kB / 16.36 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001506, allocations: 193.8 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 79.88 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.231, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003685/0.2347, allocations: 2.135 MB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4137/0.6484, allocations: 1.039 MB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.6487, allocations: 5 kB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.742e-05/0.6488, allocations: 25.59 kB / 0.7879 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.6491, allocations: 85.88 kB / 0.788 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.6496, allocations: 190.8 kB / 0.7882 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.6499, allocations: 294 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.6501, allocations: 59.3 kB / 0.7885 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.6502, allocations: 111.9 kB / 0.7886 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.6504, allocations: 142.5 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.6504, allocations: 17.25 kB / 0.7888 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.6508, allocations: 296.4 kB / 0.7891 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.6509, allocations: 44.86 kB / 0.7891 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.581e-05/0.651, allocations: 122.7 kB / 0.7892 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.6513, allocations: 339.9 kB / 0.7896 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6513, allocations: 0 / 0.7896 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6513, allocations: 1.938 kB / 0.7896 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.6513, allocations: 0 / 0.7896 GB, free: 46.24 MB / 0.6544 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.0009568/0.6523, allocations: 0.6219 MB / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.6523, allocations: 7.875 kB / 0.7902 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.6525, allocations: 41.64 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.6528, allocations: 272.3 kB / 0.7905 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.6528, allocations: 14.28 kB / 0.7905 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.6529, allocations: 12.81 kB / 0.7905 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.6533, allocations: 234.3 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6534, allocations: 3 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.6534, allocations: 10.61 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6534, allocations: 5.25 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005701/0.654, allocations: 196.2 kB / 0.7909 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009196/0.6549, allocations: 0.9373 MB / 0.7918 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.6557, allocations: 237.1 kB / 0.7921 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.656, allocations: 116.4 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.656, allocations: 6.375 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.656, allocations: 37.03 kB / 0.7922 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.656, allocations: 0 / 0.7922 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001033/0.6571, allocations: 333.8 kB / 0.7925 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.6571, allocations: 80.61 kB / 0.7926 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.6573, allocations: 267.4 kB / 0.7929 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.6573, allocations: 35.55 kB / 0.7929 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.269e-05/0.6574, allocations: 157.3 kB / 0.7931 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.6575, allocations: 56.73 kB / 0.7931 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.6575, allocations: 47.55 kB / 0.7932 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.6576, allocations: 334.7 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.6579, allocations: 91.14 kB / 0.7936 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.6582, allocations: 146.7 kB / 0.7937 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.6588, allocations: 246 kB / 0.7939 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6588, allocations: 0 / 0.7939 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007081/0.6595, allocations: 294.5 kB / 0.7942 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6595, allocations: 5.75 kB / 0.7942 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6595, allocations: 2.625 kB / 0.7942 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.6596, allocations: 3.516 kB / 0.7942 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.6598, allocations: 62.44 kB / 0.7943 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6599, allocations: 7.297 kB / 0.7943 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.6601, allocations: 39.44 kB / 0.7943 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.6601, allocations: 7.531 kB / 0.7943 GB, free: 43.72 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.6602, allocations: 131.3 kB / 0.7945 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6603, allocations: 31.19 kB / 0.7945 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.661, allocations: 291.7 kB / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6611, allocations: 0 / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6611, allocations: 4.344 kB / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6611, allocations: 7.125 kB / 0.7948 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.6614, allocations: 294.1 kB / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6614, allocations: 2.625 kB / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.6617, allocations: 56.2 kB / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6617, allocations: 0 / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6617, allocations: 5.5 kB / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6617, allocations: 0 / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6617, allocations: 0 / 0.7951 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.6624, allocations: 453.1 kB / 0.7956 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.6625, allocations: 103.2 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.6625, allocations: 6.875 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.6628, allocations: 23.83 kB / 0.7957 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.6628, allocations: 24.53 kB / 0.7957 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6629, allocations: 4.188 kB / 0.7957 GB, free: 43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001299/0.663, allocations: 188.9 kB / 0.7959 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.02e-07/0.663, allocations: 0 / 0.7959 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003473/0.6634, allocations: 60.91 kB / 0.7959 GB, free: 42.92 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.6635, allocations: 124.8 kB / 0.7961 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000648/0.6642, allocations: 225 kB / 0.7963 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6642, allocations: 0 / 0.7963 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.6645, allocations: 123.9 kB / 0.7964 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.6651, allocations: 73.17 kB / 0.7965 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.6658, allocations: 426.6 kB / 0.7969 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.666, allocations: 0.7566 MB / 0.7976 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.6661, allocations: 30.23 kB / 0.7976 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.6662, allocations: 23.62 kB / 0.7977 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6662, allocations: 4 kB / 0.7977 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.008607/0.6748, allocations: 3.953 MB / 0.8015 GB, free: 41.73 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)