Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002357/0.002357, allocations: 190.2 kB / 16.25 MB, free: 6.625 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.428/1.428, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.801/1.801, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001414/0.001415, allocations: 63.47 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3045, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.004016/0.3085, allocations: 1.667 MB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3105, allocations: 0.9055 MB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3107, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.974e-05/0.3107, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.311, allocations: 31.72 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.3116, allocations: 123.7 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3118, allocations: 75.72 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3119, allocations: 8 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.312, allocations: 31.86 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3122, allocations: 47.77 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3122, allocations: 4 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.3126, allocations: 283.6 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.3127, allocations: 4 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/0.3127, allocations: 31.8 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.313, allocations: 155.9 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.313, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.313, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3131, allocations: 0 / 0.7861 GB, free: 10.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006535/0.3137, allocations: 407.1 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3138, allocations: 8.031 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.3139, allocations: 16.78 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3141, allocations: 192.2 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3141, allocations: 384 / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3142, allocations: 8.125 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3144, allocations: 57.67 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3144, allocations: 7.938 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3144, allocations: 0 / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3144, allocations: 0 / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.3146, allocations: 51.94 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.3151, allocations: 292.7 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3152, allocations: 58.55 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.3153, allocations: 32.91 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3154, allocations: 0 / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3154, allocations: 30.56 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.3154, allocations: 4 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003851/0.3158, allocations: 109.5 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3158, allocations: 51.41 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.316, allocations: 132.3 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.316, allocations: 25.7 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.3161, allocations: 100.2 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.3161, allocations: 19.75 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.3162, allocations: 21.7 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3163, allocations: 326.8 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.3164, allocations: 23.92 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.3165, allocations: 23.98 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3166, allocations: 53.2 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3166, allocations: 3.938 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002208/0.3169, allocations: 93.58 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3169, allocations: 8 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3169, allocations: 0 / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3169, allocations: 3.984 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.317, allocations: 12 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3171, allocations: 3.938 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.3171, allocations: 11.89 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3171, allocations: 3.938 kB / 0.7882 GB, free: 8.113 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.661e-05/0.3172, allocations: 114.5 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.3173, allocations: 11.94 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.3175, allocations: 97.95 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3176, allocations: 0 / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3176, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3176, allocations: 0 / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3178, allocations: 185.5 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3178, allocations: 0 / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.811e-05/0.3179, allocations: 19.92 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3179, allocations: 4 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3179, allocations: 0 / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3179, allocations: 3.984 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3179, allocations: 0 / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3182, allocations: 191.5 kB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3182, allocations: 85 kB / 0.7889 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3183, allocations: 0 / 0.7889 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.3183, allocations: 8 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3184, allocations: 11.98 kB / 0.7889 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3184, allocations: 0 / 0.7889 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.3185, allocations: 105.5 kB / 0.789 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3185, allocations: 0 / 0.789 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002524/0.3187, allocations: 20 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0002218/0.319, allocations: 119.1 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.3192, allocations: 59.97 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3192, allocations: 0 / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.3193, allocations: 35.91 kB / 0.7893 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3197, allocations: 8 kB / 0.7893 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.3202, allocations: 204.2 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3205, allocations: 0.6924 MB / 0.7901 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.469e-05/0.3205, allocations: 15.92 kB / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.3206, allocations: 7.438 kB / 0.7902 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3206, allocations: 4 kB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.003837/0.3244, allocations: 1.05 MB / 0.7912 GB, free: 4.93 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)