Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.000849/0.0008489, allocations: 98.27 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.00572/0.00572, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.468/1.468, 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.883/2.883, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 14.17 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3732, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0009478/0.3742, allocations: 364 kB / 1.074 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3757, allocations: 1.116 MB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.3758, allocations: 0 / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.615e-05/0.3759, allocations: 3.938 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.822e-05/0.376, allocations: 15.91 kB / 1.076 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.3764, allocations: 111.1 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3766, allocations: 163.6 kB / 1.076 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3767, allocations: 23.97 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.046e-05/0.3768, allocations: 59.89 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3769, allocations: 51.86 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3769, allocations: 8 kB / 1.076 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.377, allocations: 19.92 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.3771, allocations: 23.92 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.3772, allocations: 89.52 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3774, allocations: 183.8 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3774, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3775, allocations: 0 / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3775, allocations: 0 / 1.076 GB, free: 5.367 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.0005806/0.378, allocations: 426.7 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.3781, allocations: 12.03 kB / 1.077 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.3782, allocations: 8.938 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3784, allocations: 220.2 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3785, allocations: 8.375 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.3785, allocations: 16.38 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.3787, allocations: 103.8 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3787, allocations: 192 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3787, allocations: 7.938 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3787, allocations: 0 / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.039e-05/0.3788, allocations: 39.97 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3794, allocations: 492.8 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.025e-05/0.3795, allocations: 57.14 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.3796, allocations: 33.75 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3796, allocations: 8 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3797, allocations: 116.9 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3798, allocations: 0 / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002809/0.38, allocations: 133.5 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3801, allocations: 77.11 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3802, allocations: 137.7 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.3803, allocations: 33.7 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.3804, allocations: 104 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.3804, allocations: 15.84 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.3805, allocations: 25.7 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3806, allocations: 322.8 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3808, allocations: 123.8 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.381, allocations: 165 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3813, allocations: 216.4 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3813, allocations: 7.938 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005636/0.3819, allocations: 381 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.3819, allocations: 67.39 kB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3819, allocations: 0 / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.382, allocations: 4 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.382, allocations: 4 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.382, allocations: 0 / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.3825, allocations: 97.34 kB / 1.08 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.3825, allocations: 15.98 kB / 1.08 GB, free: 1.613 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.0001272/0.3827, allocations: 137.8 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.3827, allocations: 3.938 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.3827, allocations: 11.91 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3827, allocations: 3.984 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3827, allocations: 4 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3827, allocations: 3.938 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.3829, allocations: 189.5 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3829, allocations: 4 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.3829, allocations: 0 / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3829, allocations: 0 / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.383, allocations: 8 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.383, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.383, allocations: 0 / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3831, allocations: 133.9 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3832, allocations: 84.95 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3832, allocations: 4 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.3832, allocations: 3.984 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.3833, allocations: 12 kB / 1.08 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3833, allocations: 8 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.3834, allocations: 107.2 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3834, allocations: 0 / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002559/0.3836, allocations: 35.94 kB / 1.08 GB, free: 0.7656 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.0001681/0.3838, allocations: 104.1 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004501/0.3843, allocations: 318.9 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3843, allocations: 8.062 kB / 1.081 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.3843, allocations: 35.91 kB / 1.081 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3846, allocations: 19.92 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.385, allocations: 227.8 kB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3853, allocations: 0.7004 MB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.3853, allocations: 11.78 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.3854, allocations: 19.42 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3854, allocations: 0 / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of Templates: time 0.004991/0.3904, allocations: 2.173 MB / 1.084 GB, free: 13.1 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)