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.001062/0.001062, allocations: 102.9 kB / 16.35 MB, free: 6.348 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.001098/0.001098, allocations: 195.3 kB / 17.29 MB, free: 5.93 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.851/1.851, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001425/0.001425, allocations: 75.12 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2528, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00294/0.2558, allocations: 1.605 MB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2572, allocations: 0.9093 MB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.2573, allocations: 0 / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.2574, allocations: 3.938 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.2576, allocations: 23.78 kB / 0.7873 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.258, allocations: 139.6 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.2581, allocations: 83.66 kB / 0.7875 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2582, allocations: 19.98 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.2583, allocations: 31.84 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2585, allocations: 35.84 kB / 0.7876 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.2585, allocations: 4 kB / 0.7876 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.2589, allocations: 283.6 kB / 0.7878 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.2589, allocations: 4 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.259, allocations: 35.8 kB / 0.7879 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4267/0.6857, allocations: 156.7 kB / 0.788 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6858, allocations: 0 / 0.788 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6858, allocations: 0 / 0.788 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.6858, allocations: 0 / 0.788 GB, free: 46.71 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.0005925/0.6864, allocations: 403.9 kB / 0.7884 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6864, allocations: 12.41 kB / 0.7884 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.6866, allocations: 11.03 kB / 0.7884 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6867, allocations: 190.8 kB / 0.7886 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.6867, allocations: 1.562 kB / 0.7886 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6868, allocations: 8.438 kB / 0.7886 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.6869, allocations: 67.11 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.687, allocations: 3.312 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.687, allocations: 0 / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.687, allocations: 0.6562 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.6871, allocations: 41.67 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.6875, allocations: 297.8 kB / 0.789 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.6877, allocations: 54.75 kB / 0.7891 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.6878, allocations: 27.33 kB / 0.7891 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.6878, allocations: 7.719 kB / 0.7891 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.6878, allocations: 38.66 kB / 0.7891 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.6878, allocations: 0.75 kB / 0.7891 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.000329/0.6881, allocations: 106.3 kB / 0.7892 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.6882, allocations: 54.47 kB / 0.7893 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.6883, allocations: 130.8 kB / 0.7894 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.6883, allocations: 31.39 kB / 0.7894 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.6883, allocations: 94.02 kB / 0.7895 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.6883, allocations: 14.38 kB / 0.7895 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.6884, allocations: 22.77 kB / 0.7896 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.6884, allocations: 325.6 kB / 0.7899 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.6885, allocations: 23.3 kB / 0.7899 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.123e-05/0.6886, allocations: 20.81 kB / 0.7899 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.6887, allocations: 53.7 kB / 0.79 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6887, allocations: 0 / 0.79 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001832/0.6889, allocations: 94.91 kB / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6889, allocations: 7.375 kB / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.6889, allocations: 0 / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.689, allocations: 0.5938 kB / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.6891, allocations: 17.91 kB / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6891, allocations: 0 / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.6892, allocations: 14.94 kB / 0.7901 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.6892, allocations: 1.062 kB / 0.7901 GB, free: 45.07 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 5.154e-05/0.6892, allocations: 118.9 kB / 0.7902 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.6893, allocations: 7.469 kB / 0.7902 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.6895, allocations: 107.5 kB / 0.7903 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6895, allocations: 0 / 0.7903 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6895, allocations: 0 / 0.7903 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6895, allocations: 0.5 kB / 0.7903 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.6897, allocations: 190.4 kB / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6897, allocations: 3.094 kB / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.6898, allocations: 13.95 kB / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6898, allocations: 0 / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.6898, allocations: 5.344 kB / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6898, allocations: 0 / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6898, allocations: 0 / 0.7905 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.69, allocations: 196.3 kB / 0.7907 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.69, allocations: 83.7 kB / 0.7908 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.6901, allocations: 0 / 0.7908 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.6901, allocations: 9.891 kB / 0.7908 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.6902, allocations: 3.969 kB / 0.7908 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6902, allocations: 8.828 kB / 0.7908 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.6903, allocations: 98.31 kB / 0.7909 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6903, allocations: 3.25 kB / 0.7909 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002522/0.6905, allocations: 21.59 kB / 0.7909 GB, free: 44.41 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.0001617/0.6907, allocations: 119.2 kB / 0.791 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.6909, allocations: 58.41 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6909, allocations: 0.625 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.691, allocations: 31.66 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.6913, allocations: 13.58 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.6917, allocations: 195.3 kB / 0.7913 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.6918, allocations: 0.6904 MB / 0.792 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.6918, allocations: 9.953 kB / 0.792 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.6919, allocations: 13.69 kB / 0.792 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.6919, allocations: 0.7188 kB / 0.792 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.003129/0.695, allocations: 1.088 MB / 0.7931 GB, free: 43.47 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)