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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 293 MB / 309 MB, free: 4.801 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.001267/0.001267, allocations: 178.6 kB / 378.7 MB, free: 0.9766 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.753/1.753, allocations: 205.4 MB / 0.6383 GB, free: 8.191 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.0008631/0.0008631, allocations: 95.28 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000677/0.0006775, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3223, allocations: 116.4 MB / 0.9905 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8106/1.133, allocations: 138.8 MB / 1.126 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/1.133, allocations: 72.92 kB / 1.126 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003117/1.136, allocations: 1.244 MB / 1.127 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.216e-06/1.136, allocations: 3.422 kB / 1.127 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.136, allocations: 4.875 kB / 1.127 GB, free: 33.86 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.0004464/1.137, allocations: 409.2 kB / 1.128 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.137, allocations: 8.031 kB / 1.128 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/1.137, allocations: 4.938 kB / 1.128 GB, free: 33.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/1.137, allocations: 195 kB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.137, allocations: 8.938 kB / 1.128 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.137, allocations: 4.375 kB / 1.128 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/1.137, allocations: 167.3 kB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.137, allocations: 192 / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/1.137, allocations: 11.94 kB / 1.128 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1.137, allocations: 0 / 1.128 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/1.138, allocations: 185 kB / 1.128 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/1.138, allocations: 436.1 kB / 1.129 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/1.139, allocations: 130.8 kB / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/1.139, allocations: 86.88 kB / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/1.139, allocations: 0 / 1.129 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/1.139, allocations: 34.5 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/1.139, allocations: 0 / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0006802/1.14, allocations: 266.2 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.14, allocations: 77.67 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/1.14, allocations: 129.2 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/1.14, allocations: 25.7 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/1.14, allocations: 103.1 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/1.14, allocations: 12.72 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.14, allocations: 0 / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/1.14, allocations: 313.8 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/1.14, allocations: 75.45 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/1.14, allocations: 87.89 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/1.141, allocations: 147.9 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.141, allocations: 4 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003663/1.141, allocations: 183.9 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.141, allocations: 6.031 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.141, allocations: 0 / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.141, allocations: 0 / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/1.141, allocations: 38.2 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/1.141, allocations: 8.438 kB / 1.13 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/1.141, allocations: 27.94 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/1.141, allocations: 4 kB / 1.13 GB, free: 30.89 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 7.591e-05/1.141, allocations: 130 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/1.141, allocations: 7.906 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/1.141, allocations: 11.53 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/1.141, allocations: 0.5625 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.141, allocations: 3.938 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.141, allocations: 4 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.142, allocations: 199.2 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.142, allocations: 0.5625 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/1.142, allocations: 30.45 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.142, allocations: 0.75 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.142, allocations: 4 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.142, allocations: 4.625 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.142, allocations: 3.938 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/1.142, allocations: 353.2 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/1.142, allocations: 85.02 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/1.142, allocations: 4 kB / 1.131 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/1.142, allocations: 23.48 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/1.143, allocations: 31.33 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/1.143, allocations: 4 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.457e-05/1.143, allocations: 91.5 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.143, allocations: 0 / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002499/1.143, allocations: 23.42 kB / 1.131 GB, free: 29.91 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.0001247/1.143, allocations: 107.2 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004287/1.143, allocations: 161.3 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.143, allocations: 0 / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/1.144, allocations: 96.55 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/1.144, allocations: 10.7 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/1.144, allocations: 219.9 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/1.145, allocations: 0.6958 MB / 1.133 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.669e-05/1.145, allocations: 19.52 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/1.145, allocations: 11.44 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.145, allocations: 0 / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.00298/1.148, allocations: 1.024 MB / 1.134 GB, free: 28.09 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)