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.001087/0.001087, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009001/0.009001, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 12.53 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4248, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0009786/0.4259, allocations: 360 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.4283, allocations: 1.12 MB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.4284, allocations: 0 / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.4286, allocations: 3.938 kB / 1.076 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.4288, allocations: 7.984 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.4295, allocations: 110.8 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.4298, allocations: 167.6 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.43, allocations: 15.98 kB / 1.076 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.4302, allocations: 67.88 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.4304, allocations: 43.88 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.4304, allocations: 8 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.4306, allocations: 23.98 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.4307, allocations: 27.91 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.4309, allocations: 77.53 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.4312, allocations: 191.7 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.4312, allocations: 0 / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.826e-06/0.4313, allocations: 3.938 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.4313, allocations: 0 / 1.076 GB, free: 5.332 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.0009085/0.4322, allocations: 426.7 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.412e-05/0.4323, allocations: 8.031 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.4324, allocations: 12.94 kB / 1.077 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.4328, allocations: 216.2 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.4328, allocations: 4.375 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.4329, allocations: 20.31 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.4331, allocations: 95.86 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4331, allocations: 192 / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.4331, allocations: 11.92 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4332, allocations: 8 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.4333, allocations: 39.97 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.434, allocations: 488.8 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.4341, allocations: 61.14 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.4342, allocations: 37.75 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.4342, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.4344, allocations: 117 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 5.039e-06/0.4344, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003382/0.4348, allocations: 133.5 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.4348, allocations: 85.05 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.435, allocations: 133.7 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.435, allocations: 33.7 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.4351, allocations: 100 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4351, allocations: 11.84 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.4352, allocations: 29.7 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4354, allocations: 322.8 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.4356, allocations: 123.9 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.4359, allocations: 165 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.4363, allocations: 220.4 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4363, allocations: 0 / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006595/0.4369, allocations: 380.6 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.437, allocations: 67.39 kB / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4371, allocations: 0 / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.4371, allocations: 4 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.5e-05/0.4371, allocations: 12.12 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4371, allocations: 4 kB / 1.08 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/0.4377, allocations: 93.62 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.4377, allocations: 11.98 kB / 1.08 GB, free: 1.582 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.0001686/0.4379, allocations: 133.8 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.4379, allocations: 4 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.438, allocations: 7.906 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.438, allocations: 0 / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.438, allocations: 3.938 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.438, allocations: 11.92 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.4383, allocations: 189.5 kB / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4383, allocations: 0 / 1.08 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.4383, allocations: 7.938 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4383, allocations: 0 / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4383, allocations: 0 / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4383, allocations: 0 / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4383, allocations: 4 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.4386, allocations: 142.2 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.4386, allocations: 81.02 kB / 1.08 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4387, allocations: 4 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.4387, allocations: 0 / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.4387, allocations: 19.84 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4388, allocations: 4 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.807e-05/0.4388, allocations: 99.8 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4388, allocations: 3.938 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002787/0.4391, allocations: 39.94 kB / 1.08 GB, free: 0.7344 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.0002138/0.4394, allocations: 107.2 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004603/0.4398, allocations: 318.6 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4398, allocations: 0 / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.4399, allocations: 39.91 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.4402, allocations: 20.62 kB / 1.081 GB, free: 232 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4406, allocations: 227.8 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.441, allocations: 0.7043 MB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.092e-05/0.441, allocations: 11.78 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.4411, allocations: 11.44 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.4411, allocations: 0 / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.006039/0.4471, allocations: 2.166 MB / 1.084 GB, free: 13.08 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)