Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001145/0.001145, allocations: 192.8 kB / 16.25 MB, free: 6.617 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.041/3.041, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 65.08 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4158, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002251/0.4181, allocations: 0.6865 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.4197, allocations: 1.12 MB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.4198, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.4199, allocations: 3.984 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.839e-05/0.42, allocations: 15.94 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.4205, allocations: 102.8 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.4207, allocations: 195.7 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.4209, allocations: 23.98 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.245e-05/0.421, allocations: 83.81 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.4211, allocations: 51.88 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.4212, allocations: 16 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.4212, allocations: 35.97 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.4213, allocations: 19.92 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4215, allocations: 67.83 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.4217, allocations: 195.8 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.4218, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4218, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4218, allocations: 0 / 1.07 GB, free: 8.176 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006586/0.4224, allocations: 466.6 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4225, allocations: 8.031 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.4226, allocations: 12.84 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.423, allocations: 220.2 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.423, allocations: 8.375 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.423, allocations: 8.375 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4232, allocations: 99.86 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.4232, allocations: 8.188 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4232, allocations: 3.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.4233, allocations: 51.89 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.4241, allocations: 0.4889 MB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.4242, allocations: 53.2 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.4243, allocations: 25.77 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.4243, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.4245, allocations: 117 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4245, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003047/0.4248, allocations: 133.5 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.4249, allocations: 81.09 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.4251, allocations: 137.8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4251, allocations: 29.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.4252, allocations: 100 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.4252, allocations: 19.73 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.4254, allocations: 57.69 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4255, allocations: 322.8 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.4258, allocations: 123.8 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.426, allocations: 165 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.4263, allocations: 228.8 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4263, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00066/0.427, allocations: 376.6 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.427, allocations: 67.39 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4271, allocations: 4.188 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4271, allocations: 4 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/0.4271, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4271, allocations: 7.984 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.4277, allocations: 67.86 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.4277, allocations: 11.98 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001415/0.4279, allocations: 141.8 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.4279, allocations: 7.906 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.4281, allocations: 11.89 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4281, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4281, allocations: 0 / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4281, allocations: 7.938 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.4284, allocations: 185.6 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4284, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.4285, allocations: 4 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4285, allocations: 0 / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4285, allocations: 4 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4285, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4285, allocations: 0 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.4287, allocations: 141.7 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.4288, allocations: 77.11 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.4289, allocations: 7.984 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.4289, allocations: 0 / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.4289, allocations: 11.94 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4289, allocations: 4 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.767e-05/0.429, allocations: 107.2 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.429, allocations: 0 / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002722/0.4293, allocations: 39.84 kB / 1.074 GB, free: 3.535 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000218/0.4295, allocations: 108.5 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.43, allocations: 326.8 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4301, allocations: 4.125 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.348e-05/0.4301, allocations: 31.98 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.4304, allocations: 15.98 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.4309, allocations: 235.2 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.4314, allocations: 0.7002 MB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.4314, allocations: 11.78 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.4315, allocations: 11.44 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4315, allocations: 0 / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.005766/0.4372, allocations: 2.252 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)