Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001004/0.001004, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008077/0.008077, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.501/1.501, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004122, allocations: 13.91 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4103, allocations: 162.2 MB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001139/0.4115, allocations: 401.3 kB / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.4129, allocations: 0.8352 MB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.413, allocations: 0 / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.4131, allocations: 7.984 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.4133, allocations: 7.938 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.4134, allocations: 15.97 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.4136, allocations: 67.83 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.4138, allocations: 27.98 kB / 1.075 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.4139, allocations: 35.84 kB / 1.075 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.414, allocations: 31.84 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.414, allocations: 4 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.4141, allocations: 3.938 kB / 1.076 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.4141, allocations: 27.97 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.4142, allocations: 53.5 kB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.4144, allocations: 87.72 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4144, allocations: 0 / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4144, allocations: 0 / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4144, allocations: 0 / 1.076 GB, free: 5.879 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.000781/0.4152, allocations: 395.5 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4153, allocations: 8.031 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.4153, allocations: 8.844 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4156, allocations: 188.3 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.4156, allocations: 12.31 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.4157, allocations: 8.375 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.4161, allocations: 175.8 kB / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4161, allocations: 192 / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.4162, allocations: 3.938 kB / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4162, allocations: 0 / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.4167, allocations: 179.7 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.4174, allocations: 452.6 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.4177, allocations: 125.1 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.418, allocations: 85.7 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.418, allocations: 7.938 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.418, allocations: 34.56 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.418, allocations: 0 / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0009044/0.4189, allocations: 261.6 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.419, allocations: 77.11 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4191, allocations: 133.7 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4192, allocations: 25.7 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.4193, allocations: 100.4 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.4193, allocations: 3.906 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.4193, allocations: 21.66 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4195, allocations: 318.8 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.4197, allocations: 75.89 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.4199, allocations: 93.62 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.4204, allocations: 149.5 kB / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4204, allocations: 0 / 1.079 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000498/0.4209, allocations: 185.5 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4209, allocations: 13.8 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4209, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4209, allocations: 64 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.4211, allocations: 31.97 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4211, allocations: 3.938 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.4213, allocations: 27.92 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4213, allocations: 3.984 kB / 1.079 GB, free: 2.473 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.0001167/0.4214, allocations: 129.8 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.4215, allocations: 7.906 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.4215, allocations: 7.531 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4215, allocations: 0 / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4215, allocations: 7.938 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4215, allocations: 0 / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.4218, allocations: 193.8 kB / 1.079 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.4218, allocations: 3.984 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.422, allocations: 31.97 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.422, allocations: 0 / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.422, allocations: 8 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.422, allocations: 0 / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.422, allocations: 7.875 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.4227, allocations: 350.8 kB / 1.079 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.4227, allocations: 85.02 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4228, allocations: 8 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.4229, allocations: 19.97 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.423, allocations: 27.91 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.423, allocations: 3.984 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.4231, allocations: 95.27 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4231, allocations: 0 / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002772/0.4234, allocations: 12.28 kB / 1.08 GB, free: 1.395 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.0001498/0.4236, allocations: 111.1 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.4241, allocations: 159.8 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4241, allocations: 3.938 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.4244, allocations: 104 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.4247, allocations: 8 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.4252, allocations: 221.1 kB / 1.08 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.4257, allocations: 0.7044 MB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.4258, allocations: 20.23 kB / 1.081 GB, free: 12 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.4259, allocations: 15.42 kB / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of SimCode: time 4.51e-07/0.4259, allocations: 0 / 1.081 GB, free: 16 MB / 0.8419 GB Notification: Performance of Templates: time 0.003985/0.4299, allocations: 1.053 MB / 1.082 GB, free: 14.95 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)