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.001462/0.001462, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.563/1.563, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.781/1.781, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001458/0.001458, allocations: 75.44 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3107, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003418/0.3142, allocations: 1.613 MB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3158, allocations: 0.8948 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.3159, allocations: 4 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.316, allocations: 11.86 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.3162, allocations: 15.86 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.3166, allocations: 139.5 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3168, allocations: 71.72 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3169, allocations: 23.97 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.317, allocations: 35.8 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3172, allocations: 35.84 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3172, allocations: 4 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.3176, allocations: 283.7 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.3176, allocations: 15.97 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3177, allocations: 31.8 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.318, allocations: 147.9 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.318, allocations: 4 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.318, allocations: 0 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.318, allocations: 0 / 0.7866 GB, free: 10.14 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.0006926/0.3187, allocations: 407.1 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.3188, allocations: 15.97 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.3189, allocations: 12.84 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3191, allocations: 189.1 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3192, allocations: 4.375 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.3192, allocations: 12.06 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.3194, allocations: 61.61 kB / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3194, allocations: 0 / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3194, allocations: 0 / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3195, allocations: 0 / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3196, allocations: 39.97 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3201, allocations: 308.7 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3203, allocations: 58.48 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.24e-05/0.3204, allocations: 28.97 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3204, allocations: 0 / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3205, allocations: 38.56 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.3205, allocations: 0 / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0004366/0.3209, allocations: 105.5 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.321, allocations: 51.41 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3211, allocations: 132.6 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3211, allocations: 25.7 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.3212, allocations: 100.1 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3212, allocations: 23.69 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3213, allocations: 21.7 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3214, allocations: 314.8 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.3215, allocations: 31.97 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.3216, allocations: 19.98 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3217, allocations: 56.83 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3217, allocations: 0 / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.322, allocations: 89.58 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.322, allocations: 4 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.322, allocations: 0 / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.322, allocations: 0 / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3221, allocations: 20.36 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3222, allocations: 0 / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.3222, allocations: 15.89 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3222, allocations: 7.938 kB / 0.7887 GB, free: 7.77 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 0.000106/0.3224, allocations: 117.8 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3224, allocations: 4 kB / 0.7888 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.3227, allocations: 93.95 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3227, allocations: 4 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3227, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3227, allocations: 4 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3229, allocations: 189.5 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3229, allocations: 3.938 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.323, allocations: 19.98 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.323, allocations: 0 / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.323, allocations: 3.938 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.323, allocations: 4 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.323, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3233, allocations: 191.4 kB / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.3234, allocations: 81.02 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3234, allocations: 7.984 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.3235, allocations: 4 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.3235, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3236, allocations: 7.984 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.3236, allocations: 103.2 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3236, allocations: 3.938 kB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.3239, allocations: 20 kB / 0.7895 GB, free: 6.82 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.0002382/0.3241, allocations: 125.4 kB / 0.7896 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3244, allocations: 55.97 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3244, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.3245, allocations: 27.92 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3249, allocations: 23.16 kB / 0.7898 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.3254, allocations: 188.3 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3257, allocations: 0.6924 MB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.963e-05/0.3258, allocations: 4 kB / 0.7906 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.3258, allocations: 15.42 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.3258, allocations: 0 / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.00408/0.3299, allocations: 1.093 MB / 0.7917 GB, free: 4.559 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)