Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009985, 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.001009/0.001009, allocations: 191.5 kB / 16.13 MB, free: 6.656 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.82/1.82, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.682/1.682, allocations: 251.6 MB / 0.5088 GB, free: 3.391 MB / 414.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.00167/0.001671, allocations: 67.89 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7491, allocations: 104.7 MB / 0.7238 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002942/0.7521, allocations: 1.42 MB / 0.7252 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004126/0.7526, allocations: 144.4 kB / 0.7253 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.7526, allocations: 4 kB / 0.7253 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.7528, allocations: 3.984 kB / 0.7253 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.7528, allocations: 3.938 kB / 0.7254 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.753, allocations: 12 kB / 0.7254 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.7531, allocations: 27.92 kB / 0.7254 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.7533, allocations: 11.98 kB / 0.7254 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.7533, allocations: 19.92 kB / 0.7254 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.7534, allocations: 19.86 kB / 0.7254 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.7534, allocations: 0 / 0.7254 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.7535, allocations: 4 kB / 0.7254 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.7535, allocations: 11.98 kB / 0.7255 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.7536, allocations: 15.86 kB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.7537, allocations: 39.88 kB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7537, allocations: 0 / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7537, allocations: 0 / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.7537, allocations: 0 / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006481/0.7544, allocations: 357.5 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.7545, allocations: 8.031 kB / 0.7259 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.7545, allocations: 4.938 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.7547, allocations: 176.2 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.7548, allocations: 4.375 kB / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.7548, allocations: 384 / 0.726 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.755, allocations: 62.23 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.7551, allocations: 192 / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.7551, allocations: 11.92 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7551, allocations: 0 / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.7553, allocations: 43.95 kB / 0.7261 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.7558, allocations: 280.7 kB / 0.7264 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.756, allocations: 46.55 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.7561, allocations: 24.91 kB / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.7561, allocations: 0 / 0.7265 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.7562, allocations: 30.56 kB / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7562, allocations: 0 / 0.7265 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004077/0.7566, allocations: 93.56 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.7567, allocations: 59.39 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7568, allocations: 101.8 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7568, allocations: 25.7 kB / 0.7268 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.7569, allocations: 96.14 kB / 0.7269 GB, free: 9.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.7569, allocations: 7.891 kB / 0.7269 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.757, allocations: 13.72 kB / 0.7269 GB, free: 9.949 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7571, allocations: 322.9 kB / 0.7272 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.735e-05/0.7572, allocations: 19.97 kB / 0.7272 GB, free: 9.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.922e-05/0.7573, allocations: 15.98 kB / 0.7272 GB, free: 9.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.7575, allocations: 44.75 kB / 0.7273 GB, free: 9.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7575, allocations: 4 kB / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.7577, allocations: 73.72 kB / 0.7274 GB, free: 9.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.7577, allocations: 4 kB / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7577, allocations: 0 / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7577, allocations: 0 / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.7579, allocations: 15.92 kB / 0.7274 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7579, allocations: 0 / 0.7274 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.7579, allocations: 8.234 kB / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.7579, allocations: 4.031 kB / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000161/0.7581, allocations: 117.8 kB / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.7581, allocations: 7.906 kB / 0.7275 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.7582, allocations: 3.125 kB / 0.7275 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.7582, allocations: 4 kB / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7582, allocations: 0 / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.7582, allocations: 0 / 0.7275 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.7584, allocations: 169.6 kB / 0.7277 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7584, allocations: 0 / 0.7277 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.7585, allocations: 15.92 kB / 0.7277 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7585, allocations: 4 kB / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.7585, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7585, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7585, allocations: 0 / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.7588, allocations: 167.4 kB / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.7588, allocations: 85.14 kB / 0.7279 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.7588, allocations: 0 / 0.7279 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.7589, allocations: 11.92 kB / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.759, allocations: 0 / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.759, allocations: 8 kB / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.759, allocations: 83.27 kB / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.759, allocations: 0 / 0.728 GB, free: 8.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002222/0.7593, allocations: 7.938 kB / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000122/0.7594, allocations: 99.25 kB / 0.7281 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.7596, allocations: 55.83 kB / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7596, allocations: 0 / 0.7282 GB, free: 8.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.7597, allocations: 19.98 kB / 0.7282 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.76, allocations: 7.984 kB / 0.7282 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.7603, allocations: 131.3 kB / 0.7283 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.7607, allocations: 0.677 MB / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.7607, allocations: 4 kB / 0.729 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.7608, allocations: 11.42 kB / 0.729 GB, free: 7.602 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.7608, allocations: 0 / 0.729 GB, free: 7.602 MB / 0.545 GB Notification: Performance of Templates: time 0.00291/0.7637, allocations: 0.5278 MB / 0.7295 GB, free: 7.078 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)