Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.6 MB / 307.6 MB, free: 5.164 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.001169/0.001169, allocations: 181 kB / 377.1 MB, free: 1.516 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.892/1.892, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.0008563/0.0008562, allocations: 92.58 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004077, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3771, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.97/1.347, allocations: 138.7 MB / 1.124 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/1.348, allocations: 73.59 kB / 1.124 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00386/1.351, allocations: 1.233 MB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.508e-06/1.351, allocations: 4 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.351, allocations: 0 / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005601/1.352, allocations: 405.8 kB / 1.126 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.352, allocations: 8.031 kB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/1.352, allocations: 6.562 kB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/1.352, allocations: 193.6 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.352, allocations: 4 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.352, allocations: 15.94 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/1.353, allocations: 170.7 kB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.353, allocations: 0 / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.353, allocations: 0 / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.353, allocations: 5.422 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/1.353, allocations: 181.3 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/1.354, allocations: 438.1 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/1.354, allocations: 121.6 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/1.354, allocations: 3.938 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/1.354, allocations: 38.56 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/1.354, allocations: 4.062 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0007685/1.355, allocations: 261.1 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/1.355, allocations: 81.27 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.355, allocations: 116.5 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.355, allocations: 25.7 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/1.355, allocations: 103.5 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/1.355, allocations: 3.906 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/1.355, allocations: 4 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/1.356, allocations: 318.3 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.356, allocations: 77.61 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.356, allocations: 82.91 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/1.356, allocations: 69.77 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.356, allocations: 0 / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004337/1.357, allocations: 179.9 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/1.357, allocations: 8.844 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.357, allocations: 5.5 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.357, allocations: 0 / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/1.357, allocations: 34.78 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.357, allocations: 3.953 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.357, allocations: 30.83 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/1.357, allocations: 8.438 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.951e-05/1.357, allocations: 128.9 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/1.357, allocations: 4 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/1.357, allocations: 7.531 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.357, allocations: 4 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.357, allocations: 0.8438 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.357, allocations: 5.406 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/1.357, allocations: 199.2 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.357, allocations: 4 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/1.358, allocations: 35.23 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.358, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/1.358, allocations: 4 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.358, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.358, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/1.358, allocations: 379.9 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/1.358, allocations: 82.41 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.358, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.358, allocations: 22.75 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/1.358, allocations: 26.17 kB / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/1.358, allocations: 0 / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.475e-05/1.359, allocations: 103.4 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/1.359, allocations: 0 / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002626/1.359, allocations: 24.75 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001323/1.359, allocations: 100.2 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004436/1.359, allocations: 159.6 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.359, allocations: 4 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/1.36, allocations: 99.03 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/1.36, allocations: 11.69 kB / 1.129 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/1.36, allocations: 217.3 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/1.36, allocations: 0.7035 MB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001115/1.361, allocations: 15.67 kB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/1.361, allocations: 15.44 kB / 1.13 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.361, allocations: 0 / 1.13 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of Templates: time 0.003406/1.364, allocations: 1.018 MB / 1.131 GB, free: 29.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)