Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001649/0.001649, allocations: 104 kB / 15.6 MB, free: 148 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.001959/0.001959, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.98 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2803, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04268/0.323, allocations: 41.98 MB / 1.109 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3361, allocations: 8.885 MB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.3376, allocations: 39.75 kB / 1.118 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.3393, allocations: 0.5787 MB / 1.118 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.343, allocations: 1.263 MB / 1.12 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.3465, allocations: 1.183 MB / 1.121 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.35, allocations: 2.688 MB / 1.123 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.3514, allocations: 0.9265 MB / 1.124 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002514/0.354, allocations: 1.035 MB / 1.125 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.3553, allocations: 0.7429 MB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.3556, allocations: 120 kB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.358, allocations: 1.189 MB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.3585, allocations: 326.9 kB / 1.128 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.3594, allocations: 0.6454 MB / 1.128 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.3629, allocations: 2.322 MB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3629, allocations: 0 / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3629, allocations: 0 / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.209e-05/0.363, allocations: 0 / 1.131 GB, free: 10.27 MB / 0.8887 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.003177/0.3662, allocations: 1.732 MB / 1.132 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3662, allocations: 8.031 kB / 1.132 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.3666, allocations: 135.4 kB / 1.132 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.3684, allocations: 1.042 MB / 1.133 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.3685, allocations: 53.31 kB / 1.133 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3686, allocations: 75.98 kB / 1.134 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3699, allocations: 0.798 MB / 1.134 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3699, allocations: 0 / 1.134 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.37, allocations: 28 kB / 1.134 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.37, allocations: 19.98 kB / 1.134 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3711, allocations: 0.6141 MB / 1.135 GB, free: 5.602 MB / 0.8887 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.003881/0.375, allocations: 3.228 MB / 1.138 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.3758, allocations: 453.1 kB / 1.139 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.3763, allocations: 322.6 kB / 1.139 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000816/0.3771, allocations: 0.7635 MB / 1.14 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3771, allocations: 38.56 kB / 1.14 GB, free: 472 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/0.3771, allocations: 0 / 1.14 GB, free: 472 kB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001646/0.3788, allocations: 1.01 MB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.3789, allocations: 140.5 kB / 1.141 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3802, allocations: 1.083 MB / 1.142 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.3803, allocations: 37.64 kB / 1.142 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.3806, allocations: 464.5 kB / 1.142 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.3808, allocations: 134.1 kB / 1.142 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.381, allocations: 114 kB / 1.143 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3811, allocations: 330 kB / 1.143 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.3816, allocations: 350.6 kB / 1.143 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.3822, allocations: 450.8 kB / 1.144 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3834, allocations: 0.9754 MB / 1.145 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3834, allocations: 0 / 1.145 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001497/0.3849, allocations: 1.1 MB / 1.146 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.385, allocations: 186.4 kB / 1.146 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.385, allocations: 8 kB / 1.146 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3851, allocations: 4 kB / 1.146 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.3854, allocations: 87.89 kB / 1.146 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3854, allocations: 7.938 kB / 1.146 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.386, allocations: 79.33 kB / 1.146 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.3861, allocations: 24 kB / 1.146 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008192/0.3869, allocations: 0.5946 MB / 1.147 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005955/0.3875, allocations: 446.8 kB / 1.147 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001141/0.3886, allocations: 0.9708 MB / 1.148 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.3887, allocations: 4 kB / 1.148 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001455/0.3901, allocations: 1.094 MB / 1.149 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.3902, allocations: 186.2 kB / 1.149 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3902, allocations: 4 kB / 1.149 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.3902, allocations: 7.938 kB / 1.149 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.3906, allocations: 92.11 kB / 1.149 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3906, allocations: 4 kB / 1.149 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.3911, allocations: 63.55 kB / 1.149 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.3912, allocations: 24 kB / 1.149 GB, free: 5.965 MB / 0.9044 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.0002391/0.3914, allocations: 313.7 kB / 1.15 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.3916, allocations: 102.8 kB / 1.15 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.3931, allocations: 0.9159 MB / 1.151 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3931, allocations: 4 kB / 1.151 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3931, allocations: 0 / 1.151 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/0.3942, allocations: 0.9837 MB / 1.152 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.3971, allocations: 2.118 MB / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3971, allocations: 4 kB / 1.154 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.3974, allocations: 59.91 kB / 1.154 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.3974, allocations: 7.938 kB / 1.154 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.3975, allocations: 24.2 kB / 1.154 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3975, allocations: 8 kB / 1.154 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3975, allocations: 7.938 kB / 1.154 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.3994, allocations: 1.382 MB / 1.155 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/0.3998, allocations: 287.6 kB / 1.155 GB, free: 15.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.3999, allocations: 15.94 kB / 1.156 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.4004, allocations: 40.03 kB / 1.156 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.4006, allocations: 43.89 kB / 1.156 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.4006, allocations: 23.98 kB / 1.156 GB, free: 15.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001044/0.4017, allocations: 0.7767 MB / 1.156 GB, free: 14.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4017, allocations: 0 / 1.156 GB, free: 14.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001343/0.403, allocations: 0.5226 MB / 1.157 GB, free: 14 MB / 0.92 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.0008097/0.4038, allocations: 396.4 kB / 1.157 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.4063, allocations: 1.973 MB / 1.159 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4063, allocations: 0 / 1.159 GB, free: 11.49 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006909/0.407, allocations: 0.5467 MB / 1.16 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.4095, allocations: 0.5368 MB / 1.16 GB, free: 10.39 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.4124, allocations: 1.918 MB / 1.162 GB, free: 8.406 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.4131, allocations: 1.068 MB / 1.163 GB, free: 7.309 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007909/0.4139, allocations: 215.9 kB / 1.163 GB, free: 7.109 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.4141, allocations: 83.41 kB / 1.163 GB, free: 7.027 MB / 0.92 GB Notification: Performance of SimCode: time 6.92e-07/0.4141, allocations: 0 / 1.163 GB, free: 7.027 MB / 0.92 GB Notification: Performance of Templates: time 0.0411/0.4552, allocations: 24.38 MB / 1.187 GB, free: 14.97 MB / 0.9512 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)