Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001471/0.001471, allocations: 190.2 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009371/0.0009373, allocations: 90.94 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 59.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2311, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04462/0.2758, allocations: 41.75 MB / 1.023 GB, free: 464 kB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.4584/0.7342, allocations: 8.927 MB / 1.032 GB, free: 71.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.7361, allocations: 37.91 kB / 1.032 GB, free: 71.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.7381, allocations: 486.8 kB / 1.032 GB, free: 71.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004444/0.7426, allocations: 1.16 MB / 1.033 GB, free: 71.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.7466, allocations: 1.052 MB / 1.034 GB, free: 71.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.7517, allocations: 3.356 MB / 1.038 GB, free: 71.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.7539, allocations: 0.7712 MB / 1.038 GB, free: 71.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.7567, allocations: 0.8698 MB / 1.039 GB, free: 71.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.7588, allocations: 0.7363 MB / 1.04 GB, free: 71.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.7592, allocations: 52.91 kB / 1.04 GB, free: 71.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.7631, allocations: 1.074 MB / 1.041 GB, free: 71.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006429/0.7638, allocations: 274.3 kB / 1.041 GB, free: 71.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.7656, allocations: 0.5661 MB / 1.042 GB, free: 70.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006383/0.772, allocations: 2.28 MB / 1.044 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7721, allocations: 0 / 1.044 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7721, allocations: 4 kB / 1.044 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.283e-05/0.7721, allocations: 1.406 kB / 1.044 GB, free: 70.62 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.0033/0.7755, allocations: 1.735 MB / 1.046 GB, free: 69.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7755, allocations: 13.84 kB / 1.046 GB, free: 69.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.7759, allocations: 131.6 kB / 1.046 GB, free: 69.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.7777, allocations: 1.06 MB / 1.047 GB, free: 69.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.7778, allocations: 49.8 kB / 1.047 GB, free: 69.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.7779, allocations: 69.38 kB / 1.047 GB, free: 69.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.7795, allocations: 0.811 MB / 1.048 GB, free: 69.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.7795, allocations: 1.25 kB / 1.048 GB, free: 69.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.7796, allocations: 26.61 kB / 1.048 GB, free: 69.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.7796, allocations: 15.75 kB / 1.048 GB, free: 69.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.781, allocations: 0.6084 MB / 1.049 GB, free: 69.01 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.7854, allocations: 3.223 MB / 1.052 GB, free: 67.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/0.7862, allocations: 448.3 kB / 1.052 GB, free: 67.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.7867, allocations: 313.4 kB / 1.052 GB, free: 67.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006622/0.7874, allocations: 0.7688 MB / 1.053 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.7874, allocations: 36.09 kB / 1.053 GB, free: 66.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 2.635e-06/0.7874, allocations: 0 / 1.053 GB, free: 66.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.001661/0.7891, allocations: 1.004 MB / 1.054 GB, free: 66.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.7891, allocations: 142.2 kB / 1.054 GB, free: 66.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.7904, allocations: 1.071 MB / 1.055 GB, free: 65.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.7905, allocations: 41.11 kB / 1.055 GB, free: 65.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.7908, allocations: 462.9 kB / 1.056 GB, free: 65.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7909, allocations: 131.2 kB / 1.056 GB, free: 65.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.7911, allocations: 117.6 kB / 1.056 GB, free: 65.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.7911, allocations: 330.6 kB / 1.056 GB, free: 64.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.7916, allocations: 352.5 kB / 1.057 GB, free: 64.83 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.7923, allocations: 461.7 kB / 1.057 GB, free: 64.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.7933, allocations: 0.9614 MB / 1.058 GB, free: 63.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7934, allocations: 3.188 kB / 1.058 GB, free: 63.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001469/0.7948, allocations: 1.101 MB / 1.059 GB, free: 63.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/0.7949, allocations: 188.6 kB / 1.059 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.795, allocations: 4.031 kB / 1.059 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.795, allocations: 3.906 kB / 1.059 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.7953, allocations: 91.64 kB / 1.059 GB, free: 63.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.7954, allocations: 7.062 kB / 1.059 GB, free: 63.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.7962, allocations: 103.6 kB / 1.06 GB, free: 63.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.7962, allocations: 22.91 kB / 1.06 GB, free: 63.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007648/0.797, allocations: 0.599 MB / 1.06 GB, free: 62.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006172/0.7976, allocations: 448.9 kB / 1.061 GB, free: 62.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001006/0.7987, allocations: 0.9705 MB / 1.062 GB, free: 62.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.7987, allocations: 4.875 kB / 1.062 GB, free: 62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001354/0.8, allocations: 1.097 MB / 1.063 GB, free: 61.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.8001, allocations: 189.3 kB / 1.063 GB, free: 61.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.8001, allocations: 3.125 kB / 1.063 GB, free: 61.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.8001, allocations: 3.125 kB / 1.063 GB, free: 61.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.8004, allocations: 91.39 kB / 1.063 GB, free: 61.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8005, allocations: 3.938 kB / 1.063 GB, free: 61.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.8012, allocations: 83.03 kB / 1.063 GB, free: 61.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.8013, allocations: 27.06 kB / 1.063 GB, free: 61.2 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0002198/0.8015, allocations: 308.5 kB / 1.063 GB, free: 60.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.8017, allocations: 100.8 kB / 1.063 GB, free: 60.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.803, allocations: 0.9226 MB / 1.064 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.803, allocations: 9.219 kB / 1.064 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.803, allocations: 0.75 kB / 1.064 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009553/0.804, allocations: 0.9711 MB / 1.065 GB, free: 59.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.8068, allocations: 2.105 MB / 1.067 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.8068, allocations: 4.469 kB / 1.067 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.8071, allocations: 70.91 kB / 1.067 GB, free: 58.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.8071, allocations: 10.7 kB / 1.067 GB, free: 58.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.8072, allocations: 11 kB / 1.067 GB, free: 58.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8072, allocations: 6.5 kB / 1.067 GB, free: 58.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8072, allocations: 7.219 kB / 1.067 GB, free: 58.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/0.8178, allocations: 7.563 MB / 1.075 GB, free: 54.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.8182, allocations: 284.6 kB / 1.075 GB, free: 54.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.8183, allocations: 17.19 kB / 1.075 GB, free: 54.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.8189, allocations: 46.73 kB / 1.075 GB, free: 54.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.819, allocations: 52.48 kB / 1.075 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.8191, allocations: 22.09 kB / 1.075 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009325/0.82, allocations: 0.774 MB / 1.076 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.82, allocations: 3.406 kB / 1.076 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00238/0.8224, allocations: 0.8209 MB / 1.077 GB, free: 53.68 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.0009927/0.8234, allocations: 437.1 kB / 1.077 GB, free: 53.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.8255, allocations: 1.946 MB / 1.079 GB, free: 52.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8255, allocations: 0 / 1.079 GB, free: 52.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.8261, allocations: 0.5462 MB / 1.08 GB, free: 51.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.8286, allocations: 0.5104 MB / 1.08 GB, free: 51.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.8318, allocations: 2.695 MB / 1.083 GB, free: 50.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.8325, allocations: 1.081 MB / 1.084 GB, free: 49.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008405/0.8333, allocations: 214 kB / 1.084 GB, free: 49.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.8335, allocations: 83.53 kB / 1.084 GB, free: 49.23 MB / 0.7448 GB Notification: Performance of SimCode: time 1.283e-06/0.8335, allocations: 3.938 kB / 1.084 GB, free: 49.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.03998/0.8735, allocations: 26.25 MB / 1.11 GB, free: 47.05 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)