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.001439/0.001439, allocations: 106.7 kB / 15.99 MB, free: 6.363 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.001541/0.001541, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.506/1.506, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.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.686/1.686, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001395/0.001395, allocations: 72.14 kB / 0.6717 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003753/0.2855, allocations: 2.212 MB / 0.7857 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2873, allocations: 1.03 MB / 0.7867 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2874, allocations: 3.938 kB / 0.7867 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.2875, allocations: 11.86 kB / 0.7867 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.2879, allocations: 75.41 kB / 0.7868 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.2883, allocations: 171 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2886, allocations: 290.8 kB / 0.7872 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.2888, allocations: 60.98 kB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2889, allocations: 111.5 kB / 0.7874 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.2891, allocations: 139.4 kB / 0.7875 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.2892, allocations: 20 kB / 0.7875 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.2896, allocations: 299.6 kB / 0.7878 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.2896, allocations: 43.83 kB / 0.7879 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2898, allocations: 119.3 kB / 0.788 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.2901, allocations: 235.4 kB / 0.7882 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2901, allocations: 4 kB / 0.7882 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2901, allocations: 0 / 0.7882 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2901, allocations: 0 / 0.7882 GB, free: 9.082 MB / 0.6075 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.00108/0.2912, allocations: 0.6233 MB / 0.7888 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.2912, allocations: 8.031 kB / 0.7888 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.2915, allocations: 40.55 kB / 0.7889 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.2918, allocations: 279.5 kB / 0.7891 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2918, allocations: 8.656 kB / 0.7891 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2918, allocations: 20.12 kB / 0.7891 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.2924, allocations: 236.2 kB / 0.7894 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2924, allocations: 0 / 0.7894 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.2924, allocations: 4 kB / 0.7894 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.557e-06/0.2924, allocations: 4 kB / 0.7894 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.293, allocations: 203.7 kB / 0.7896 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2942, allocations: 0.9345 MB / 0.7905 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.2949, allocations: 241.1 kB / 0.7907 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.2952, allocations: 105.6 kB / 0.7908 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.2953, allocations: 8.25 kB / 0.7908 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.2953, allocations: 42.5 kB / 0.7909 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.2953, allocations: 0 / 0.7909 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001089/0.2964, allocations: 333.1 kB / 0.7912 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2965, allocations: 81.09 kB / 0.7913 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2967, allocations: 266.9 kB / 0.7915 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2968, allocations: 33.7 kB / 0.7915 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.2969, allocations: 164.2 kB / 0.7917 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.2969, allocations: 51.2 kB / 0.7918 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.297, allocations: 45.7 kB / 0.7918 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2971, allocations: 330.8 kB / 0.7921 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.2975, allocations: 91.92 kB / 0.7922 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.2978, allocations: 145 kB / 0.7923 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.2984, allocations: 241.7 kB / 0.7926 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2984, allocations: 7.938 kB / 0.7926 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007581/0.2992, allocations: 293 kB / 0.7929 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2992, allocations: 8.156 kB / 0.7929 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2992, allocations: 0 / 0.7929 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2992, allocations: 4.094 kB / 0.7929 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.2995, allocations: 71.81 kB / 0.7929 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2996, allocations: 8.688 kB / 0.7929 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.2998, allocations: 39.72 kB / 0.793 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2998, allocations: 4 kB / 0.793 GB, free: 3.863 MB / 0.6075 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 0.0001261/0.2999, allocations: 142.4 kB / 0.7931 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3, allocations: 23.72 kB / 0.7931 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.3008, allocations: 291.2 kB / 0.7934 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3008, allocations: 4 kB / 0.7934 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3008, allocations: 0 / 0.7934 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3008, allocations: 3.984 kB / 0.7934 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.3012, allocations: 301.2 kB / 0.7937 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3012, allocations: 0 / 0.7937 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.3015, allocations: 55.95 kB / 0.7938 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3015, allocations: 0 / 0.7938 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.3015, allocations: 8 kB / 0.7938 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3015, allocations: 0 / 0.7938 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3015, allocations: 0 / 0.7938 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007699/0.3023, allocations: 450.1 kB / 0.7942 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.3024, allocations: 100.7 kB / 0.7943 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3024, allocations: 8 kB / 0.7943 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3027, allocations: 27.95 kB / 0.7943 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.3028, allocations: 19.98 kB / 0.7944 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.3028, allocations: 4 kB / 0.7944 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001673/0.3029, allocations: 190 kB / 0.7945 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.303, allocations: 0 / 0.7945 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003423/0.3033, allocations: 56.25 kB / 0.7946 GB, free: 2.109 MB / 0.6075 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.0002221/0.3035, allocations: 119.4 kB / 0.7947 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007122/0.3042, allocations: 242.4 kB / 0.7949 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3043, allocations: 0 / 0.7949 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.3046, allocations: 124.1 kB / 0.7951 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.3052, allocations: 76.38 kB / 0.7951 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.3061, allocations: 0.5356 MB / 0.7957 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3064, allocations: 0.7557 MB / 0.7964 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.3065, allocations: 23.42 kB / 0.7964 GB, free: 188 kB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3065, allocations: 8 kB / 0.7964 GB, free: 180 kB / 0.6075 GB Notification: Performance of Templates: time 0.005546/0.312, allocations: 3.458 MB / 0.7998 GB, free: 12.76 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)