Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 252 MB / 267.6 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 174.2 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008693/0.0008694, allocations: 90.78 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004596, allocations: 11.72 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2995, allocations: 106.3 MB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00232/0.3018, allocations: 1.8 MB / 0.9026 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3036, allocations: 0.9835 MB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.3038, allocations: 3.938 kB / 0.9036 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.788e-05/0.3039, allocations: 15.86 kB / 0.9036 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.3042, allocations: 71.41 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.3047, allocations: 131.7 kB / 0.9038 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.3049, allocations: 274.7 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3051, allocations: 44.73 kB / 0.9041 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.3052, allocations: 87.58 kB / 0.9041 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3054, allocations: 127.4 kB / 0.9043 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.3054, allocations: 8 kB / 0.9043 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.3058, allocations: 267.7 kB / 0.9045 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.3058, allocations: 43.77 kB / 0.9046 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3059, allocations: 65.58 kB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3061, allocations: 219.7 kB / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3061, allocations: 0 / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3061, allocations: 0 / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3061, allocations: 0 / 0.9048 GB, free: 60.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009389/0.3071, allocations: 0.6078 MB / 0.9054 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3071, allocations: 8.031 kB / 0.9054 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.3073, allocations: 47.56 kB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3076, allocations: 266.4 kB / 0.9057 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3076, allocations: 16.28 kB / 0.9058 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.3077, allocations: 15.94 kB / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.3082, allocations: 256.2 kB / 0.906 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3082, allocations: 0 / 0.906 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3082, allocations: 4 kB / 0.906 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3082, allocations: 4 kB / 0.906 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.3089, allocations: 251.7 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3099, allocations: 0.9463 MB / 0.9072 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.3106, allocations: 261.2 kB / 0.9074 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.311, allocations: 129.6 kB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.311, allocations: 8.297 kB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.311, allocations: 30.56 kB / 0.9076 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.311, allocations: 3.938 kB / 0.9076 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001104/0.3121, allocations: 397.6 kB / 0.908 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3122, allocations: 85.09 kB / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.3124, allocations: 263 kB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3124, allocations: 29.7 kB / 0.9083 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.3125, allocations: 164.1 kB / 0.9085 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3125, allocations: 59.2 kB / 0.9086 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.3126, allocations: 4 kB / 0.9086 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.3126, allocations: 342.8 kB / 0.9089 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3129, allocations: 107.9 kB / 0.909 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.3133, allocations: 164.1 kB / 0.9091 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.3136, allocations: 127.9 kB / 0.9093 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3136, allocations: 0 / 0.9093 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007623/0.3144, allocations: 333.1 kB / 0.9096 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3144, allocations: 4 kB / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3144, allocations: 4 kB / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3144, allocations: 0 / 0.9096 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.3147, allocations: 80.02 kB / 0.9097 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3147, allocations: 0 / 0.9097 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.3149, allocations: 51.8 kB / 0.9097 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.315, allocations: 12 kB / 0.9097 GB, free: 54.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3151, allocations: 133.7 kB / 0.9099 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.3152, allocations: 27.62 kB / 0.9099 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.3159, allocations: 335.2 kB / 0.9102 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3159, allocations: 0 / 0.9102 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3159, allocations: 3.938 kB / 0.9102 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.316, allocations: 4 kB / 0.9102 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3162, allocations: 305.3 kB / 0.9105 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3163, allocations: 0 / 0.9105 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.3165, allocations: 67.89 kB / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3165, allocations: 0 / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3165, allocations: 4 kB / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3166, allocations: 0 / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3166, allocations: 4 kB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.3173, allocations: 482.3 kB / 0.911 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.3173, allocations: 108.6 kB / 0.9111 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.3174, allocations: 4 kB / 0.9111 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.3176, allocations: 39.97 kB / 0.9112 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3177, allocations: 23.91 kB / 0.9112 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3177, allocations: 4 kB / 0.9112 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000143/0.3179, allocations: 190 kB / 0.9114 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3179, allocations: 0 / 0.9114 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003105/0.3182, allocations: 52 kB / 0.9114 GB, free: 52.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.3184, allocations: 111.2 kB / 0.9115 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006938/0.3191, allocations: 278 kB / 0.9118 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3191, allocations: 0 / 0.9118 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.3194, allocations: 140.4 kB / 0.9119 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.32, allocations: 80.89 kB / 0.912 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.3208, allocations: 0.5217 MB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.321, allocations: 0.7479 MB / 0.9133 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.3211, allocations: 31.38 kB / 0.9133 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.3211, allocations: 0 / 0.9133 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.005684/0.3268, allocations: 3.423 MB / 0.9166 GB, free: 47.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)