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.0009481/0.0009482, allocations: 98.19 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.005301/0.005301, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.046/3.046, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004337, allocations: 8.938 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4097, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Routing): time 0.117/0.5267, allocations: 111.3 MB / 1.183 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05074/0.5775, allocations: 29.25 MB / 1.211 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006359/0.584, allocations: 115.2 kB / 1.212 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004478/0.5885, allocations: 1.076 MB / 1.213 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.5999, allocations: 3.138 MB / 1.216 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.008062/0.608, allocations: 2.332 MB / 1.218 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02023/0.6282, allocations: 14.46 MB / 1.232 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006174/0.6344, allocations: 3.355 MB / 1.235 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.6447, allocations: 3.216 MB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007467/0.6522, allocations: 2.796 MB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.6533, allocations: 120 kB / 1.241 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008221/0.6616, allocations: 1.579 MB / 1.243 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002512/0.6642, allocations: 0.6104 MB / 1.243 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007643/0.6718, allocations: 1.684 MB / 1.245 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.6835, allocations: 4.937 MB / 1.25 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6835, allocations: 0 / 1.25 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6835, allocations: 0 / 1.25 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002392/0.6838, allocations: 0 / 1.25 GB, free: 2.945 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.7949/1.479, allocations: 3.162 MB / 1.253 GB, free: 177 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.479, allocations: 10.02 kB / 1.253 GB, free: 177 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/1.481, allocations: 400.4 kB / 1.253 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007092/1.488, allocations: 2.59 MB / 1.256 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/1.488, allocations: 169.3 kB / 1.256 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005515/1.489, allocations: 228.6 kB / 1.256 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/1.495, allocations: 2.593 MB / 1.259 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/1.495, allocations: 5.812 kB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/1.495, allocations: 87.81 kB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.495, allocations: 54.28 kB / 1.259 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/1.499, allocations: 1.96 MB / 1.261 GB, free: 175.5 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.01595/1.515, allocations: 10.26 MB / 1.271 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.516, allocations: 0.7433 MB / 1.272 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008317/1.517, allocations: 0.6008 MB / 1.272 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.518, allocations: 1.898 MB / 1.274 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/1.518, allocations: 49.52 kB / 1.274 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 3.888e-06/1.518, allocations: 0 / 1.274 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005551/1.523, allocations: 2.038 MB / 1.276 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/1.524, allocations: 174.3 kB / 1.276 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/1.529, allocations: 2.688 MB / 1.279 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/1.529, allocations: 53.42 kB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.53, allocations: 1.373 MB / 1.28 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/1.53, allocations: 313.5 kB / 1.281 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.531, allocations: 90.56 kB / 1.281 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.531, allocations: 345.7 kB / 1.281 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/1.531, allocations: 461.9 kB / 1.281 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.533, allocations: 1.001 MB / 1.282 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/1.535, allocations: 1.275 MB / 1.284 GB, free: 161 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.535, allocations: 3.094 kB / 1.284 GB, free: 161 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003958/1.538, allocations: 1.723 MB / 1.285 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/1.539, allocations: 345.1 kB / 1.286 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/1.539, allocations: 11.17 kB / 1.286 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.54, allocations: 262.7 kB / 1.286 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/1.542, allocations: 464.4 kB / 1.286 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/1.546, allocations: 6.93 MB / 1.293 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/1.549, allocations: 323 kB / 1.293 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.549, allocations: 60.77 kB / 1.294 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.549, allocations: 6.906 kB / 1.294 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002421/1.552, allocations: 1.248 MB / 1.295 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.552, allocations: 8.938 kB / 1.295 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003864/1.552, allocations: 150 kB / 1.295 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/1.553, allocations: 250.7 kB / 1.295 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/1.555, allocations: 2.264 MB / 1.297 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/1.558, allocations: 310.8 kB / 1.298 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/1.559, allocations: 59.61 kB / 1.298 GB, free: 150.9 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.001879/1.56, allocations: 0.8764 MB / 1.299 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008733/1.561, allocations: 273.7 kB / 1.299 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/1.564, allocations: 1.628 MB / 1.3 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/1.564, allocations: 14.83 kB / 1.3 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.564, allocations: 2.094 kB / 1.3 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/1.566, allocations: 1.447 MB / 1.302 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008227/1.574, allocations: 4.378 MB / 1.306 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.574, allocations: 9.625 kB / 1.306 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/1.575, allocations: 260.5 kB / 1.306 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003418/1.575, allocations: 161.7 kB / 1.307 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/1.576, allocations: 30.77 kB / 1.307 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/1.578, allocations: 6.836 MB / 1.313 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.578, allocations: 6.281 kB / 1.313 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/1.583, allocations: 2.663 MB / 1.316 GB, free: 136.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.585, allocations: 0.5443 MB / 1.316 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/1.585, allocations: 27.73 kB / 1.316 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.587, allocations: 203.4 kB / 1.317 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.587, allocations: 87.75 kB / 1.317 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.587, allocations: 51.56 kB / 1.317 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002887/1.59, allocations: 1.86 MB / 1.319 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.59, allocations: 3.969 kB / 1.319 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004498/1.595, allocations: 1.513 MB / 1.32 GB, free: 134.9 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.001299/1.596, allocations: 0.6191 MB / 1.321 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005253/1.601, allocations: 2.274 MB / 1.323 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.601, allocations: 4.062 kB / 1.323 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.602, allocations: 0.6955 MB / 1.324 GB, free: 133.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/1.614, allocations: 1.679 MB / 1.325 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/1.622, allocations: 6.501 MB / 1.332 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.624, allocations: 2.186 MB / 1.334 GB, free: 123 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003153/1.627, allocations: 0.6561 MB / 1.334 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/1.627, allocations: 191.4 kB / 1.334 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.733e-06/1.627, allocations: 0 / 1.334 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.08763/1.715, allocations: 55.89 MB / 1.389 GB, free: 66.84 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)