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.001396/0.001396, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001601/0.001601, allocations: 181.8 kB / 17.22 MB, free: 5.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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.9/1.9, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001482/0.001483, allocations: 71.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003266/0.3097, allocations: 1.598 MB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3112, allocations: 0.9015 MB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.3113, allocations: 4 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.3114, allocations: 3.938 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.3116, allocations: 31.72 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.312, allocations: 143.6 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3121, allocations: 75.7 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3123, allocations: 11.98 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.3123, allocations: 35.86 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3125, allocations: 39.77 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3125, allocations: 8 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.3129, allocations: 283.6 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.313, allocations: 12 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.313, allocations: 31.8 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.3133, allocations: 147.9 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3133, allocations: 4 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.086e-06/0.3133, allocations: 0 / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.3133, allocations: 3.938 kB / 0.7873 GB, free: 0.5039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006044/0.3139, allocations: 411.1 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3139, allocations: 8.031 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3141, allocations: 12.83 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3931/0.7072, allocations: 180.8 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7073, allocations: 3.406 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.7073, allocations: 4.781 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.7075, allocations: 63.56 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.7076, allocations: 0 / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7076, allocations: 2.188 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7076, allocations: 0 / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.7077, allocations: 54.86 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.7082, allocations: 294 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.7083, allocations: 50.86 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.7084, allocations: 32.64 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.7084, allocations: 1 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.7085, allocations: 37.09 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.572e-06/0.7085, allocations: 0.8438 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0003503/0.7088, allocations: 109.8 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.7089, allocations: 51.41 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.274e-05/0.7089, allocations: 132.7 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.709, allocations: 29.14 kB / 0.7887 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.709, allocations: 95.98 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.709, allocations: 17.3 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.7091, allocations: 22.47 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.7091, allocations: 317.2 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.7092, allocations: 21.36 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.7093, allocations: 25.77 kB / 0.7892 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.7094, allocations: 56.78 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7094, allocations: 0 / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001824/0.7096, allocations: 104.2 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7096, allocations: 3 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7096, allocations: 3.719 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7097, allocations: 2.844 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.7098, allocations: 11.56 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7098, allocations: 2.844 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.7099, allocations: 6.594 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.7099, allocations: 3.328 kB / 0.7894 GB, free: 47.73 MB / 0.6544 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 6.37e-05/0.7099, allocations: 115.5 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.71, allocations: 10.47 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.7102, allocations: 106.4 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7102, allocations: 0 / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7102, allocations: 0.9688 kB / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.7102, allocations: 0 / 0.7896 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.7104, allocations: 186.4 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7104, allocations: 5.562 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.7105, allocations: 16.66 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.7105, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.7105, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7105, allocations: 7.531 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7105, allocations: 0 / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.7107, allocations: 190.1 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.7108, allocations: 89.78 kB / 0.7901 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.7108, allocations: 1.625 kB / 0.7901 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.7109, allocations: 4.906 kB / 0.7901 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.7109, allocations: 7.453 kB / 0.7901 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7109, allocations: 5.125 kB / 0.7901 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.711, allocations: 103.1 kB / 0.7902 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.91e-07/0.711, allocations: 0 / 0.7902 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002412/0.7112, allocations: 19.47 kB / 0.7902 GB, free: 47.08 MB / 0.6544 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.0001666/0.7114, allocations: 113 kB / 0.7903 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.7116, allocations: 61.38 kB / 0.7904 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7116, allocations: 0.625 kB / 0.7904 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.7117, allocations: 29.2 kB / 0.7904 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.7121, allocations: 21.25 kB / 0.7904 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.7125, allocations: 184.6 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.7126, allocations: 0.6901 MB / 0.7913 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.7127, allocations: 13.98 kB / 0.7913 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.7127, allocations: 13.88 kB / 0.7913 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7127, allocations: 3.281 kB / 0.7913 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.003372/0.7161, allocations: 1.083 MB / 0.7924 GB, free: 46.16 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)