Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001493/0.001493, allocations: 108 kB / 15.6 MB, free: 132 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.001099/0.001099, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.09 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03995/0.3487, allocations: 41.98 MB / 1.109 GB, free: 260 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01414/0.3629, allocations: 8.888 MB / 1.118 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.3651, allocations: 39.81 kB / 1.118 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.3672, allocations: 0.5825 MB / 1.118 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.3712, allocations: 1.255 MB / 1.12 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.3745, allocations: 1.184 MB / 1.121 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.3783, allocations: 2.688 MB / 1.123 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.3796, allocations: 0.9265 MB / 1.124 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.3821, allocations: 1.039 MB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3834, allocations: 0.7428 MB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.3837, allocations: 120 kB / 1.126 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.3863, allocations: 1.182 MB / 1.127 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.3866, allocations: 330.9 kB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007753/0.3874, allocations: 0.6416 MB / 1.128 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.3908, allocations: 2.329 MB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3908, allocations: 0 / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3908, allocations: 4 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.3908, allocations: 0 / 1.131 GB, free: 10.25 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.002711/0.3936, allocations: 1.728 MB / 1.132 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3936, allocations: 12.03 kB / 1.132 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.3939, allocations: 127.4 kB / 1.132 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.3954, allocations: 1.042 MB / 1.133 GB, free: 7.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.3955, allocations: 53.31 kB / 1.133 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3956, allocations: 64 kB / 1.134 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.3969, allocations: 0.8098 MB / 1.134 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.397, allocations: 0 / 1.134 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.397, allocations: 28 kB / 1.134 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.3971, allocations: 19.94 kB / 1.134 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3981, allocations: 0.6102 MB / 1.135 GB, free: 5.594 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.003848/0.402, allocations: 3.232 MB / 1.138 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.4028, allocations: 459.7 kB / 1.139 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.4033, allocations: 310.6 kB / 1.139 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008097/0.4041, allocations: 0.7675 MB / 1.14 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4041, allocations: 42.5 kB / 1.14 GB, free: 456 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.485e-06/0.4041, allocations: 0 / 1.14 GB, free: 456 kB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001682/0.4058, allocations: 0.9906 MB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.4059, allocations: 152.4 kB / 1.141 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.4073, allocations: 1.083 MB / 1.142 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.4073, allocations: 41.64 kB / 1.142 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.4077, allocations: 464.5 kB / 1.142 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.4078, allocations: 126.1 kB / 1.142 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.408, allocations: 118 kB / 1.143 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4081, allocations: 326 kB / 1.143 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.4086, allocations: 354.6 kB / 1.143 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.4092, allocations: 450.8 kB / 1.144 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.4103, allocations: 0.9793 MB / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4103, allocations: 0 / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001523/0.4119, allocations: 1.104 MB / 1.146 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.412, allocations: 186.2 kB / 1.146 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.412, allocations: 4 kB / 1.146 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.4121, allocations: 4 kB / 1.146 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.4124, allocations: 96.11 kB / 1.146 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4124, allocations: 4 kB / 1.146 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.4131, allocations: 75.33 kB / 1.146 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.4131, allocations: 23.98 kB / 1.146 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008897/0.414, allocations: 0.5947 MB / 1.147 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000595/0.4146, allocations: 454.7 kB / 1.147 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.4158, allocations: 0.963 MB / 1.148 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.4158, allocations: 4 kB / 1.148 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001572/0.4174, allocations: 1.106 MB / 1.149 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.4175, allocations: 186.2 kB / 1.149 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4175, allocations: 0 / 1.149 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.4175, allocations: 4 kB / 1.149 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.4179, allocations: 95.83 kB / 1.149 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4179, allocations: 0 / 1.149 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.4184, allocations: 63.78 kB / 1.149 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.4185, allocations: 27.92 kB / 1.149 GB, free: 5.945 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.0002621/0.4188, allocations: 313.8 kB / 1.15 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.4189, allocations: 98.78 kB / 1.15 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4205, allocations: 0.9113 MB / 1.151 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.4205, allocations: 4 kB / 1.151 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4205, allocations: 0 / 1.151 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/0.4217, allocations: 0.9914 MB / 1.152 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/0.4248, allocations: 2.11 MB / 1.154 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4248, allocations: 7.984 kB / 1.154 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4251, allocations: 59.91 kB / 1.154 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/0.4251, allocations: 7.938 kB / 1.154 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.4252, allocations: 16 kB / 1.154 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.4252, allocations: 7.984 kB / 1.154 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4252, allocations: 4.062 kB / 1.154 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.4271, allocations: 1.39 MB / 1.155 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.4275, allocations: 287.5 kB / 1.155 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4276, allocations: 15.94 kB / 1.156 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.4281, allocations: 31.95 kB / 1.156 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.4283, allocations: 51.95 kB / 1.156 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.4283, allocations: 20 kB / 1.156 GB, free: 15.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001066/0.4294, allocations: 0.7845 MB / 1.156 GB, free: 14.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4294, allocations: 0 / 1.156 GB, free: 14.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001422/0.4308, allocations: 0.5187 MB / 1.157 GB, free: 13.98 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.0009345/0.4318, allocations: 399.6 kB / 1.157 GB, free: 13.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002387/0.4342, allocations: 1.981 MB / 1.159 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4342, allocations: 0 / 1.159 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.4349, allocations: 0.5414 MB / 1.16 GB, free: 10.89 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.4373, allocations: 0.5393 MB / 1.16 GB, free: 10.37 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.4401, allocations: 1.918 MB / 1.162 GB, free: 8.391 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.4408, allocations: 1.068 MB / 1.163 GB, free: 7.293 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007585/0.4415, allocations: 210 kB / 1.163 GB, free: 7.094 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.4417, allocations: 79.42 kB / 1.163 GB, free: 7.016 MB / 0.92 GB Notification: Performance of SimCode: time 1.372e-06/0.4417, allocations: 0 / 1.163 GB, free: 7.016 MB / 0.92 GB Notification: Performance of Templates: time 0.03887/0.4806, allocations: 24.39 MB / 1.187 GB, free: 14.96 MB / 0.9512 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)