Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.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.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing") translateModel(Buildings.Templates.Components.Validation.Routing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002163/0.002163, allocations: 190.8 kB / 16.13 MB, free: 6.656 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 64.52 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.1236/0.5189, allocations: 113.2 MB / 1.178 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04311/0.5621, allocations: 29.58 MB / 1.207 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006102/0.5682, allocations: 123.1 kB / 1.207 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.5726, allocations: 1.068 MB / 1.208 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.5843, allocations: 3.138 MB / 1.211 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00806/0.5923, allocations: 2.313 MB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01718/0.6095, allocations: 14.47 MB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006507/0.6161, allocations: 3.448 MB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0087/0.6248, allocations: 3.325 MB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006075/0.6309, allocations: 2.928 MB / 1.237 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.6323, allocations: 164 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006294/0.6386, allocations: 1.618 MB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.6402, allocations: 0.6768 MB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004679/0.6449, allocations: 1.745 MB / 1.241 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.6553, allocations: 5.047 MB / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6553, allocations: 0 / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6553, allocations: 0 / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001619/0.6555, allocations: 0 / 1.246 GB, free: 3.461 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.8233/1.479, allocations: 3.805 MB / 1.25 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.479, allocations: 10.78 kB / 1.25 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/1.481, allocations: 396.9 kB / 1.25 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/1.487, allocations: 2.586 MB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/1.487, allocations: 171.4 kB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/1.488, allocations: 229.8 kB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006644/1.495, allocations: 2.597 MB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/1.495, allocations: 1.781 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/1.495, allocations: 95.72 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/1.495, allocations: 53.69 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003762/1.499, allocations: 1.95 MB / 1.258 GB, free: 178.1 MB / 0.9981 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.01583/1.515, allocations: 10.24 MB / 1.268 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/1.516, allocations: 0.7417 MB / 1.268 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/1.517, allocations: 0.6033 MB / 1.269 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.518, allocations: 1.896 MB / 1.271 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/1.518, allocations: 49.66 kB / 1.271 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 4.749e-06/1.518, allocations: 0.875 kB / 1.271 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.00619/1.524, allocations: 2.038 MB / 1.273 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/1.524, allocations: 170.9 kB / 1.273 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/1.53, allocations: 2.688 MB / 1.276 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/1.53, allocations: 49.17 kB / 1.276 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.531, allocations: 1.375 MB / 1.277 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/1.532, allocations: 313.9 kB / 1.277 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004839/1.532, allocations: 268.2 kB / 1.278 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.532, allocations: 355.2 kB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/1.533, allocations: 465.2 kB / 1.278 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.535, allocations: 0.9995 MB / 1.279 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.536, allocations: 1.28 MB / 1.281 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/1.536, allocations: 3.281 kB / 1.281 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004453/1.541, allocations: 1.724 MB / 1.282 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/1.541, allocations: 13.16 kB / 1.282 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.541, allocations: 8.438 kB / 1.282 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/1.542, allocations: 252.3 kB / 1.283 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/1.545, allocations: 462.5 kB / 1.283 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/1.548, allocations: 6.911 MB / 1.29 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/1.552, allocations: 329.8 kB / 1.29 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/1.552, allocations: 70.47 kB / 1.29 GB, free: 156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002514/1.554, allocations: 1.108 MB / 1.291 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001153/1.556, allocations: 0.9436 MB / 1.292 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001542/1.557, allocations: 1.162 MB / 1.293 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.274e-06/1.557, allocations: 2.688 kB / 1.293 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.003455/1.561, allocations: 1.523 MB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.561, allocations: 16.97 kB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.561, allocations: 13.03 kB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/1.561, allocations: 146.9 kB / 1.295 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/1.562, allocations: 245.3 kB / 1.295 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/1.565, allocations: 2.265 MB / 1.297 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/1.568, allocations: 281.7 kB / 1.298 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/1.568, allocations: 62.81 kB / 1.298 GB, free: 151.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005205/1.568, allocations: 269.5 kB / 1.298 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009694/1.569, allocations: 273.1 kB / 1.298 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/1.573, allocations: 1.626 MB / 1.3 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/1.573, allocations: 18.73 kB / 1.3 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.573, allocations: 6.094 kB / 1.3 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001774/1.574, allocations: 1.444 MB / 1.301 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009352/1.584, allocations: 4.374 MB / 1.306 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.584, allocations: 9.562 kB / 1.306 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009667/1.585, allocations: 243.2 kB / 1.306 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/1.585, allocations: 161 kB / 1.306 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/1.585, allocations: 31.48 kB / 1.306 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/1.588, allocations: 6.831 MB / 1.313 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.63e-05/1.588, allocations: 10.06 kB / 1.313 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/1.592, allocations: 2.663 MB / 1.315 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/1.594, allocations: 0.4998 MB / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007726/1.595, allocations: 31.77 kB / 1.316 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.598, allocations: 206 kB / 1.316 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.598, allocations: 87.41 kB / 1.316 GB, free: 137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.598, allocations: 51.38 kB / 1.316 GB, free: 137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003063/1.601, allocations: 1.865 MB / 1.318 GB, free: 136 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.601, allocations: 0 / 1.318 GB, free: 136 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005243/1.606, allocations: 1.518 MB / 1.319 GB, free: 135.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (sinMul.del.dynBal.U,mulSin.del.dynBal.U,mulMulCom.del.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/1.608, allocations: 0.6093 MB / 1.32 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006129/1.614, allocations: 2.255 MB / 1.322 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.614, allocations: 0 / 1.322 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/1.615, allocations: 0.6987 MB / 1.323 GB, free: 133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01024/1.626, allocations: 1.678 MB / 1.324 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.636, allocations: 6.445 MB / 1.331 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.638, allocations: 2.179 MB / 1.333 GB, free: 122.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003/1.641, allocations: 0.6589 MB / 1.334 GB, free: 122 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/1.642, allocations: 195.3 kB / 1.334 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.483e-06/1.642, allocations: 0 / 1.334 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08192/1.724, allocations: 56.24 MB / 1.389 GB, free: 66.14 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.sim & ./Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Components.Validation.Routing.pipe 2>&1)