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.001381/0.001381, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001321/0.001321, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.515/1.515, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.701/1.701, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001371/0.001371, allocations: 66 kB / 0.6717 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2537, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03923/0.2929, allocations: 41.65 MB / 0.8242 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3051, allocations: 8.756 MB / 0.8327 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.3069, allocations: 35.75 kB / 0.8328 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.3086, allocations: 0.5014 MB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.3121, allocations: 1.167 MB / 0.8344 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.3152, allocations: 1.094 MB / 0.8355 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003609/0.3189, allocations: 2.696 MB / 0.8381 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.3204, allocations: 0.9108 MB / 0.839 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.3233, allocations: 1.041 MB / 0.84 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.3247, allocations: 0.7779 MB / 0.8408 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.325, allocations: 123.9 kB / 0.8409 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.3276, allocations: 1.201 MB / 0.8421 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.3281, allocations: 323 kB / 0.8424 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3293, allocations: 0.6416 MB / 0.843 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.3321, allocations: 1.855 MB / 0.8448 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3321, allocations: 0 / 0.8448 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3321, allocations: 0 / 0.8448 GB, free: 14.92 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.349e-05/0.3322, allocations: 0 / 0.8448 GB, free: 14.92 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.003626/0.3358, allocations: 1.744 MB / 0.8465 GB, free: 13.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3359, allocations: 12.03 kB / 0.8465 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.3363, allocations: 127.4 kB / 0.8467 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.3382, allocations: 1.058 MB / 0.8477 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.3383, allocations: 57.3 kB / 0.8477 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.3384, allocations: 68 kB / 0.8478 GB, free: 11.72 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3398, allocations: 0.8019 MB / 0.8486 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.3399, allocations: 0 / 0.8486 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.598e-05/0.3399, allocations: 28 kB / 0.8486 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.34, allocations: 16 kB / 0.8486 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3411, allocations: 0.6141 MB / 0.8492 GB, free: 10.24 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.004169/0.3452, allocations: 3.216 MB / 0.8524 GB, free: 6.852 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.346, allocations: 461.7 kB / 0.8528 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.3465, allocations: 308.7 kB / 0.8531 GB, free: 6.09 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/0.3473, allocations: 0.7713 MB / 0.8539 GB, free: 5.152 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3474, allocations: 38.56 kB / 0.8539 GB, free: 5.105 MB / 0.67 GB Notification: Performance of pre-optimization done (n=38): time 2.234e-06/0.3474, allocations: 0 / 0.8539 GB, free: 5.105 MB / 0.67 GB Notification: Performance of matching and sorting (n=38): time 0.001666/0.349, allocations: 0.9935 MB / 0.8549 GB, free: 4.086 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.3491, allocations: 144.5 kB / 0.855 GB, free: 3.914 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.3506, allocations: 1.079 MB / 0.8561 GB, free: 2.816 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.3507, allocations: 37.7 kB / 0.8561 GB, free: 2.773 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.3511, allocations: 464.5 kB / 0.8565 GB, free: 2.316 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3512, allocations: 130.2 kB / 0.8567 GB, free: 2.188 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.3514, allocations: 114 kB / 0.8568 GB, free: 2.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3515, allocations: 333.9 kB / 0.8571 GB, free: 1.738 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/0.352, allocations: 346.6 kB / 0.8574 GB, free: 1.398 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.3526, allocations: 454.8 kB / 0.8578 GB, free: 0.918 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3538, allocations: 0.9718 MB / 0.8588 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3538, allocations: 0 / 0.8588 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001632/0.3554, allocations: 1.104 MB / 0.8599 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.3556, allocations: 186.2 kB / 0.8601 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3556, allocations: 4 kB / 0.8601 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.3556, allocations: 4 kB / 0.8601 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.356, allocations: 87.83 kB / 0.8601 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.356, allocations: 4.219 kB / 0.8601 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.3569, allocations: 107.3 kB / 0.8603 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.357, allocations: 27.94 kB / 0.8603 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001007/0.358, allocations: 0.5985 MB / 0.8609 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006377/0.3587, allocations: 446.8 kB / 0.8613 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/0.3599, allocations: 0.9706 MB / 0.8622 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.089e-06/0.3599, allocations: 4 kB / 0.8622 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001819/0.3618, allocations: 1.098 MB / 0.8633 GB, free: 11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.3619, allocations: 186.2 kB / 0.8635 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3619, allocations: 4 kB / 0.8635 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.362, allocations: 8.219 kB / 0.8635 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.3623, allocations: 91.83 kB / 0.8636 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3623, allocations: 11.92 kB / 0.8636 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.3632, allocations: 83.61 kB / 0.8637 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.3632, allocations: 20 kB / 0.8637 GB, free: 10.57 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.0003165/0.3636, allocations: 313.1 kB / 0.864 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3638, allocations: 98.78 kB / 0.8641 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.3654, allocations: 0.9132 MB / 0.865 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3655, allocations: 4 kB / 0.865 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.3655, allocations: 0 / 0.865 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.3667, allocations: 0.9756 MB / 0.8659 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/0.3702, allocations: 2.122 MB / 0.868 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.3702, allocations: 7.938 kB / 0.868 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3705, allocations: 63.89 kB / 0.8681 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3705, allocations: 4 kB / 0.8681 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.3705, allocations: 19.98 kB / 0.8681 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3706, allocations: 4 kB / 0.8681 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3706, allocations: 288 / 0.8681 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.3724, allocations: 1.402 MB / 0.8695 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.3729, allocations: 287.6 kB / 0.8698 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.3731, allocations: 12 kB / 0.8698 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.3737, allocations: 44.02 kB / 0.8698 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3739, allocations: 51.89 kB / 0.8699 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.3739, allocations: 19.98 kB / 0.8699 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001117/0.375, allocations: 0.7805 MB / 0.8706 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.375, allocations: 0 / 0.8706 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001481/0.3765, allocations: 0.5187 MB / 0.8711 GB, free: 2.602 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.0009714/0.3775, allocations: 393.4 kB / 0.8715 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.3798, allocations: 1.962 MB / 0.8734 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3799, allocations: 0 / 0.8734 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006502/0.3805, allocations: 0.5423 MB / 0.874 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.3829, allocations: 0.5444 MB / 0.8745 GB, free: 15 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.3861, allocations: 2.281 MB / 0.8767 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.3868, allocations: 1.075 MB / 0.8778 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.3871, allocations: 79.42 kB / 0.8778 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of SimCode: time 6.12e-07/0.3871, allocations: 0 / 0.8778 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of Templates: time 0.03047/0.4176, allocations: 19.38 MB / 0.8968 GB, free: 8.293 MB / 0.7169 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)