Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 176.9 kB / 361.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 94.42 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.04e-05, allocations: 4 kB / 0.8518 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7207, allocations: 115.3 MB / 0.9644 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.958, allocations: 136.9 MB / 1.098 GB, free: 2.887 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.9583, allocations: 70.39 kB / 1.098 GB, free: 2.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002278/0.9606, allocations: 0.8146 MB / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9606, allocations: 0 / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.9606, allocations: 0 / 1.099 GB, free: 2.023 MB / 0.698 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.0003797/0.961, allocations: 349.7 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.961, allocations: 8.031 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.9611, allocations: 8.938 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.9613, allocations: 179 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.9613, allocations: 0 / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.9613, allocations: 5.875 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.13e-05/0.9614, allocations: 15.38 kB / 1.1 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.9615, allocations: 49.69 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9615, allocations: 5.062 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.9615, allocations: 0 / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.9616, allocations: 8.516 kB / 1.1 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.9619, allocations: 255.4 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.962, allocations: 27.42 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.962, allocations: 9.703 kB / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.962, allocations: 0 / 1.1 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.9621, allocations: 35.19 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.9621, allocations: 0.5938 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.9622, allocations: 46.5 kB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.9623, allocations: 51.94 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.9624, allocations: 101.6 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.9624, allocations: 29.7 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.9624, allocations: 88.75 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.9625, allocations: 3.906 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.9625, allocations: 0.5312 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9626, allocations: 323.6 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.9626, allocations: 0.6875 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.9626, allocations: 8 kB / 1.101 GB, free: 288 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.9627, allocations: 5.094 kB / 1.101 GB, free: 284 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9627, allocations: 3.984 kB / 1.101 GB, free: 280 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.195e-05/0.9628, allocations: 42.27 kB / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9628, allocations: 9.906 kB / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9628, allocations: 0 / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9628, allocations: 1.781 kB / 1.101 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.9629, allocations: 13.23 kB / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.9629, allocations: 0 / 1.101 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.963, allocations: 13.11 kB / 1.101 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.963, allocations: 4 kB / 1.101 GB, free: 196 kB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.9631, allocations: 109.8 kB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.9631, allocations: 4.812 kB / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.9632, allocations: 3.75 kB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9632, allocations: 1.688 kB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9632, allocations: 0 / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9632, allocations: 5.297 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.9634, allocations: 146.1 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9634, allocations: 128 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.9635, allocations: 15.98 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9635, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.9635, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9635, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9635, allocations: 0 / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.9636, allocations: 148.2 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.9637, allocations: 85.09 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.9637, allocations: 3.984 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.9638, allocations: 10.94 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.9639, allocations: 3.984 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.9639, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.389e-05/0.9639, allocations: 90.5 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9639, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002126/0.9641, allocations: 15.94 kB / 1.101 GB, free: 15.49 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.9643, allocations: 111 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.306e-05/0.9644, allocations: 12 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9644, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.9644, allocations: 12 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.9646, allocations: 5.547 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.9648, allocations: 78.22 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.9651, allocations: 0.6847 MB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.9652, allocations: 4 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.9652, allocations: 15.36 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9652, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.002158/0.9674, allocations: 491.1 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)