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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007634/0.0007669, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004811/0.004811, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.446/1.446, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.66/1.66, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005295/0.0005295, allocations: 13.59 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2313, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03631/0.2677, allocations: 40.87 MB / 0.8278 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.2795, allocations: 8.832 MB / 0.8364 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.2813, allocations: 35.75 kB / 0.8365 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.283, allocations: 489.4 kB / 0.8369 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.2862, allocations: 1.147 MB / 0.838 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.2892, allocations: 1.059 MB / 0.8391 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.2931, allocations: 3.361 MB / 0.8424 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2943, allocations: 0.7417 MB / 0.8431 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.2958, allocations: 0.8282 MB / 0.8439 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.2966, allocations: 0.6959 MB / 0.8446 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.973e-05/0.2967, allocations: 40 kB / 0.8446 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.2986, allocations: 1.06 MB / 0.8457 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.2989, allocations: 251 kB / 0.8459 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.2994, allocations: 0.569 MB / 0.8464 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.3018, allocations: 2.231 MB / 0.8486 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3018, allocations: 0 / 0.8486 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3018, allocations: 0 / 0.8486 GB, free: 13.16 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.3018, allocations: 0 / 0.8486 GB, free: 13.16 MB / 0.67 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.002185/0.304, allocations: 1.515 MB / 0.8501 GB, free: 11.55 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3041, allocations: 15.97 kB / 0.8501 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.3043, allocations: 131.4 kB / 0.8502 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.3059, allocations: 1.058 MB / 0.8513 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.306, allocations: 49.31 kB / 0.8513 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3061, allocations: 64 kB / 0.8514 GB, free: 10.19 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.3075, allocations: 0.8175 MB / 0.8522 GB, free: 9.352 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3075, allocations: 0 / 0.8522 GB, free: 9.352 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.3076, allocations: 28 kB / 0.8522 GB, free: 9.324 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.3076, allocations: 19.98 kB / 0.8522 GB, free: 9.305 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3087, allocations: 0.6219 MB / 0.8528 GB, free: 8.68 MB / 0.67 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.003871/0.3126, allocations: 3.22 MB / 0.856 GB, free: 5.293 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.3133, allocations: 462.8 kB / 0.8564 GB, free: 4.832 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.3138, allocations: 324.6 kB / 0.8567 GB, free: 4.512 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/0.3146, allocations: 0.7792 MB / 0.8575 GB, free: 3.566 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3147, allocations: 38.56 kB / 0.8575 GB, free: 3.52 MB / 0.67 GB Notification: Performance of pre-optimization done (n=38): time 1.954e-06/0.3147, allocations: 0 / 0.8575 GB, free: 3.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=38): time 0.001623/0.3163, allocations: 1.021 MB / 0.8585 GB, free: 2.473 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/0.3164, allocations: 140.5 kB / 0.8587 GB, free: 2.305 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3178, allocations: 1.071 MB / 0.8597 GB, free: 1.215 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.3179, allocations: 33.7 kB / 0.8597 GB, free: 1.176 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.3182, allocations: 464.6 kB / 0.8602 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3183, allocations: 138 kB / 0.8603 GB, free: 0.582 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.3184, allocations: 53.69 kB / 0.8604 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3185, allocations: 329.9 kB / 0.8607 GB, free: 200 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.319, allocations: 352.9 kB / 0.861 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.3196, allocations: 466.6 kB / 0.8615 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.3208, allocations: 0.9718 MB / 0.8624 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3208, allocations: 0 / 0.8624 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001423/0.3222, allocations: 1.115 MB / 0.8635 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.3224, allocations: 323.4 kB / 0.8638 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3224, allocations: 0 / 0.8638 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3224, allocations: 4 kB / 0.8638 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3228, allocations: 99.83 kB / 0.8639 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.3228, allocations: 7.938 kB / 0.8639 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/0.3234, allocations: 111.4 kB / 0.864 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.3235, allocations: 27.98 kB / 0.864 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/0.3235, allocations: 4 kB / 0.8641 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001428/0.3249, allocations: 1.109 MB / 0.8651 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.325, allocations: 0 / 0.8651 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.325, allocations: 4 kB / 0.8651 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.3253, allocations: 92.11 kB / 0.8652 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3253, allocations: 8 kB / 0.8652 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.3259, allocations: 107.3 kB / 0.8653 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.3259, allocations: 23.98 kB / 0.8654 GB, free: 11.14 MB / 0.6856 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.0005057/0.3264, allocations: 478 kB / 0.8658 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3266, allocations: 98.78 kB / 0.8659 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.328, allocations: 0.9289 MB / 0.8668 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.328, allocations: 7.984 kB / 0.8668 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.328, allocations: 0 / 0.8668 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.3291, allocations: 0.9912 MB / 0.8678 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.332, allocations: 2.134 MB / 0.8699 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.332, allocations: 4 kB / 0.8699 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.3322, allocations: 63.89 kB / 0.8699 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3323, allocations: 8.219 kB / 0.8699 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.3323, allocations: 24 kB / 0.87 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.3323, allocations: 7.938 kB / 0.87 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3323, allocations: 0 / 0.87 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.3341, allocations: 1.414 MB / 0.8714 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.3345, allocations: 303.5 kB / 0.8716 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3346, allocations: 19.92 kB / 0.8717 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.3351, allocations: 52.02 kB / 0.8717 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3353, allocations: 47.95 kB / 0.8718 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.3353, allocations: 19.98 kB / 0.8718 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009778/0.3363, allocations: 0.7728 MB / 0.8725 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3363, allocations: 4 kB / 0.8725 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001258/0.3376, allocations: 0.5148 MB / 0.873 GB, free: 2.926 MB / 0.6856 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.0007487/0.3383, allocations: 399.9 kB / 0.8734 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.3405, allocations: 1.959 MB / 0.8753 GB, free: 444 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3405, allocations: 4.062 kB / 0.8753 GB, free: 440 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/0.3411, allocations: 0.5448 MB / 0.8759 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.3437, allocations: 0.5246 MB / 0.8764 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.3466, allocations: 2.279 MB / 0.8786 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.3472, allocations: 1.072 MB / 0.8797 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007729/0.348, allocations: 205.2 kB / 0.8799 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.3482, allocations: 79.42 kB / 0.8799 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.3482, allocations: 0 / 0.8799 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of Templates: time 0.03956/0.3878, allocations: 23.81 MB / 0.9032 GB, free: 4.125 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: