Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 192 kB / 16.53 MB, free: 6.664 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 66.55 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4422, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002558/0.4448, allocations: 0.6654 MB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.446, allocations: 0.8334 MB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.4461, allocations: 0 / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.4462, allocations: 11.92 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4464, allocations: 11.94 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.4465, allocations: 11.98 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.4467, allocations: 79.75 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.4469, allocations: 35.98 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.447, allocations: 31.91 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.4472, allocations: 43.83 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.4472, allocations: 8 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.32e-05/0.4472, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.4473, allocations: 23.97 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.4474, allocations: 35.8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.4476, allocations: 83.69 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4476, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4476, allocations: 4 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4476, allocations: 0 / 1.07 GB, free: 8.566 MB / 0.8262 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.0007827/0.4484, allocations: 407.5 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4485, allocations: 8.031 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.4485, allocations: 8.844 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4488, allocations: 196.2 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.4488, allocations: 384 / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.4488, allocations: 12.31 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.4493, allocations: 163.8 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4493, allocations: 192 / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4493, allocations: 3.938 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4493, allocations: 4 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.4498, allocations: 151.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.4504, allocations: 448.7 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.4507, allocations: 121.1 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.451, allocations: 77.69 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.451, allocations: 8 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.451, allocations: 34.56 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.4511, allocations: 0 / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000809/0.4519, allocations: 229.3 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.4519, allocations: 81.36 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.452, allocations: 121.8 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4521, allocations: 25.7 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.4521, allocations: 100 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.4522, allocations: 15.75 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.4522, allocations: 21.7 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4524, allocations: 322.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4526, allocations: 67.91 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.4528, allocations: 73.64 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.4532, allocations: 133.6 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4532, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000479/0.4537, allocations: 157.5 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4538, allocations: 4 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4538, allocations: 4 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.4538, allocations: 4.438 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.454, allocations: 19.97 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.454, allocations: 11.92 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.4542, allocations: 15.92 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4542, allocations: 3.938 kB / 1.073 GB, free: 5.309 MB / 0.8262 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.y[3,1],intRep.y[3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.4543, allocations: 130.3 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.4544, allocations: 7.906 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.4545, allocations: 15.47 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4545, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4545, allocations: 7.938 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4545, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.4548, allocations: 197.8 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4548, allocations: 4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.455, allocations: 19.97 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.455, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.455, allocations: 7.984 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.455, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.455, allocations: 7.938 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.4556, allocations: 334.7 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.4557, allocations: 81.11 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4557, allocations: 3.938 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4559, allocations: 19.97 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.456, allocations: 27.91 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.456, allocations: 0 / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.4561, allocations: 99.27 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4561, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002817/0.4564, allocations: 15.91 kB / 1.074 GB, free: 4.25 MB / 0.8262 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.y[3,1],intRep.y[3,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 (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.0001851/0.4566, allocations: 99.25 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.4571, allocations: 151.7 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4571, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.4574, allocations: 79.91 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4578, allocations: 26.36 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.4585, allocations: 205.9 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4589, allocations: 0.7113 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.049e-05/0.459, allocations: 16.27 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.4591, allocations: 19.44 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.4591, allocations: 0 / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of Templates: time 0.005109/0.4642, allocations: 1.252 MB / 1.076 GB, free: 1.648 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)