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.001247/0.001247, allocations: 111.6 kB / 15.99 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.00122/0.00122, allocations: 191 kB / 16.91 MB, free: 6.184 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.599/1.599, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.752/1.752, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.002366/0.002366, allocations: 73.17 kB / 0.6717 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2929, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003048/0.296, allocations: 1.664 MB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2974, allocations: 0.9094 MB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.2976, allocations: 4 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.2976, allocations: 3.938 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.2979, allocations: 19.84 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.2983, allocations: 119.8 kB / 0.7862 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.2984, allocations: 79.66 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2985, allocations: 8 kB / 0.7863 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2986, allocations: 39.78 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2988, allocations: 35.84 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2988, allocations: 4 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.2992, allocations: 279.6 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.2992, allocations: 12 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.2992, allocations: 35.78 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.2994, allocations: 100.1 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2994, allocations: 0 / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2994, allocations: 0 / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2994, allocations: 0 / 0.7867 GB, free: 10.55 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.0005899/0.3, allocations: 407.1 kB / 0.7871 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3001, allocations: 12.03 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3002, allocations: 12.84 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3004, allocations: 188.2 kB / 0.7873 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3004, allocations: 4.375 kB / 0.7873 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3005, allocations: 8.062 kB / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3007, allocations: 69.53 kB / 0.7874 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3007, allocations: 3.984 kB / 0.7874 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3007, allocations: 0 / 0.7874 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3007, allocations: 4 kB / 0.7874 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3008, allocations: 43.97 kB / 0.7875 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3013, allocations: 300.7 kB / 0.7877 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3014, allocations: 50.5 kB / 0.7878 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.702e-05/0.3015, allocations: 36.95 kB / 0.7878 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.3016, allocations: 4 kB / 0.7878 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3016, allocations: 34.56 kB / 0.7879 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3016, allocations: 0 / 0.7879 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003769/0.302, allocations: 101.6 kB / 0.788 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.302, allocations: 51.41 kB / 0.788 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3021, allocations: 140.8 kB / 0.7881 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3022, allocations: 25.7 kB / 0.7882 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.3022, allocations: 96.19 kB / 0.7883 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.3022, allocations: 23.69 kB / 0.7883 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3023, allocations: 21.7 kB / 0.7883 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3024, allocations: 322.8 kB / 0.7886 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.3025, allocations: 19.98 kB / 0.7886 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.3026, allocations: 27.97 kB / 0.7887 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3027, allocations: 48.84 kB / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3027, allocations: 0 / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002014/0.3029, allocations: 93.56 kB / 0.7888 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.303, allocations: 4 kB / 0.7888 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.303, allocations: 0 / 0.7888 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.303, allocations: 0 / 0.7888 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3031, allocations: 23.92 kB / 0.7888 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3031, allocations: 0 / 0.7888 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.3032, allocations: 11.89 kB / 0.7888 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3032, allocations: 3.938 kB / 0.7888 GB, free: 8.184 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 7.914e-05/0.3033, allocations: 113.8 kB / 0.7889 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.3033, allocations: 4 kB / 0.789 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3036, allocations: 102 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3036, allocations: 4 kB / 0.7891 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3036, allocations: 4.438 kB / 0.7891 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3036, allocations: 0 / 0.7891 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3038, allocations: 185.5 kB / 0.7892 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3038, allocations: 11.94 kB / 0.7892 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.3039, allocations: 11.98 kB / 0.7893 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3039, allocations: 0 / 0.7893 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.304, allocations: 4 kB / 0.7893 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.304, allocations: 3.938 kB / 0.7893 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.304, allocations: 0 / 0.7893 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3042, allocations: 191.4 kB / 0.7894 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.3043, allocations: 85.02 kB / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3043, allocations: 0 / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.3044, allocations: 7.984 kB / 0.7895 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3044, allocations: 0 / 0.7895 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3044, allocations: 8 kB / 0.7895 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.843e-05/0.3045, allocations: 107.2 kB / 0.7896 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3045, allocations: 3.938 kB / 0.7896 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002413/0.3048, allocations: 28 kB / 0.7897 GB, free: 7.223 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.000196/0.305, allocations: 107.2 kB / 0.7898 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.3052, allocations: 59.95 kB / 0.7898 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3052, allocations: 0 / 0.7898 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.3053, allocations: 31.92 kB / 0.7899 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3057, allocations: 15.98 kB / 0.7899 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.3061, allocations: 230 kB / 0.7901 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.3064, allocations: 0.6924 MB / 0.7908 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.3064, allocations: 11.44 kB / 0.7908 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3064, allocations: 0 / 0.7908 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.002944/0.3094, allocations: 1.136 MB / 0.7919 GB, free: 4.891 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)