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.001246/0.001246, allocations: 105.4 kB / 15.7 MB, free: 28 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.001276/0.001276, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.785/1.785, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001459/0.001459, allocations: 73.75 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3068, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00314/0.31, allocations: 1.612 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.3115, allocations: 0.9025 MB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.3116, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.3117, allocations: 7.875 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.3119, allocations: 27.78 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.3123, allocations: 146.7 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3125, allocations: 71.78 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3126, allocations: 11.98 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.3127, allocations: 35.8 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3128, allocations: 43.83 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3129, allocations: 4 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.3133, allocations: 283.6 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3133, allocations: 7.938 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.3133, allocations: 27.86 kB / 0.7872 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3136, allocations: 159.5 kB / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3136, allocations: 0 / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3136, allocations: 0 / 0.7874 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3136, allocations: 0 / 0.7874 GB, free: 9.359 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.0006088/0.3142, allocations: 407.1 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3143, allocations: 8.031 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3144, allocations: 12.84 kB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3147, allocations: 197.1 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3147, allocations: 384 / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3147, allocations: 12.12 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3149, allocations: 61.66 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3149, allocations: 4 kB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3149, allocations: 0 / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.315, allocations: 0 / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3151, allocations: 39.97 kB / 0.7881 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.3156, allocations: 300.7 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3158, allocations: 70.47 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.3159, allocations: 24.97 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3159, allocations: 0 / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3159, allocations: 30.56 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3159, allocations: 4 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003852/0.3163, allocations: 117.5 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.3164, allocations: 51.41 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3165, allocations: 128.5 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3165, allocations: 25.7 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.3166, allocations: 100.2 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3166, allocations: 19.73 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3166, allocations: 17.72 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3167, allocations: 322.8 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.3168, allocations: 27.92 kB / 0.7893 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.704e-05/0.3169, allocations: 23.98 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3171, allocations: 52.83 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3171, allocations: 0 / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002048/0.3173, allocations: 93.5 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3173, allocations: 12 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3173, allocations: 0 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3173, allocations: 0 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3175, allocations: 15.98 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3175, allocations: 0 / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.3175, allocations: 7.906 kB / 0.7895 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3176, allocations: 3.938 kB / 0.7895 GB, free: 6.992 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.957e-05/0.3176, allocations: 113.8 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.3177, allocations: 7.984 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3179, allocations: 102.3 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.318, allocations: 0 / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.318, allocations: 8.062 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.318, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3182, allocations: 189.5 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3182, allocations: 0 / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.3183, allocations: 15.98 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3183, allocations: 0 / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3183, allocations: 4 kB / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3183, allocations: 0 / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3183, allocations: 0 / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3186, allocations: 195.3 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.3186, allocations: 81.02 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3186, allocations: 4 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.3187, allocations: 4 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.3188, allocations: 15.92 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3188, allocations: 0 / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.13e-05/0.3189, allocations: 107.2 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3189, allocations: 0 / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002414/0.3191, allocations: 20 kB / 0.7903 GB, free: 6.039 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.000208/0.3193, allocations: 115.2 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3196, allocations: 59.91 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3196, allocations: 0 / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.3197, allocations: 39.91 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.32, allocations: 6.656 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.3204, allocations: 192.2 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3207, allocations: 0.7001 MB / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.3208, allocations: 0 / 0.7914 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.3208, allocations: 15.44 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3208, allocations: 0 / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.003676/0.3245, allocations: 1.09 MB / 0.7925 GB, free: 3.777 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)