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.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001844/0.001844, allocations: 193.6 kB / 16.14 MB, free: 6.66 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.77 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3778, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002033/0.3799, allocations: 0.6826 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3815, allocations: 1.124 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.3816, allocations: 3.938 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3817, allocations: 3.984 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.3818, allocations: 7.938 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.3822, allocations: 103.2 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.3825, allocations: 167.6 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3826, allocations: 19.98 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.3827, allocations: 67.88 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3829, allocations: 43.88 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.3829, allocations: 8 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.383, allocations: 27.92 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.556e-05/0.3831, allocations: 23.91 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3832, allocations: 67.83 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.3835, allocations: 179.8 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.3835, allocations: 8 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3835, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3835, allocations: 0 / 1.07 GB, free: 8.418 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.0006986/0.3842, allocations: 458.6 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.3843, allocations: 8.031 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.3843, allocations: 12.84 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.3847, allocations: 216.3 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3847, allocations: 4.375 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.3847, allocations: 16.38 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3849, allocations: 99.86 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.385, allocations: 192 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.385, allocations: 7.938 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.385, allocations: 3.984 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.3851, allocations: 51.89 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.3857, allocations: 0.4889 MB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.715e-05/0.3858, allocations: 57.14 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.3859, allocations: 25.77 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.3859, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.3861, allocations: 121 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3861, allocations: 0 / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003444/0.3865, allocations: 129.5 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.3865, allocations: 89.09 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3867, allocations: 130.2 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.3867, allocations: 33.7 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.3868, allocations: 100 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3868, allocations: 15.75 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3869, allocations: 53.69 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3871, allocations: 322.8 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.3873, allocations: 119.9 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3876, allocations: 173 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.3879, allocations: 224.3 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3879, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006441/0.3886, allocations: 384.6 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.174e-05/0.3887, allocations: 67.39 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3887, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-05/0.3887, allocations: 4 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.3888, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3888, allocations: 4 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.3892, allocations: 68.03 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.3893, allocations: 15.98 kB / 1.073 GB, free: 4.625 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.0001548/0.3894, allocations: 139.5 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3894, allocations: 7.906 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.3895, allocations: 11.89 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3895, allocations: 4 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3895, allocations: 384 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.3895, allocations: 3.938 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.3898, allocations: 185.6 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3898, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-06/0.3898, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3898, allocations: 3.984 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3898, allocations: 8 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3898, allocations: 4 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3898, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.39, allocations: 141.7 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.3901, allocations: 81.11 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3901, allocations: 3.984 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.3902, allocations: 7.938 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3902, allocations: 7.938 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3902, allocations: 4 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.841e-05/0.3903, allocations: 99.25 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3903, allocations: 3.938 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003019/0.3906, allocations: 43.84 kB / 1.074 GB, free: 3.773 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.0002561/0.3909, allocations: 107.2 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.3914, allocations: 322.6 kB / 1.074 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.3915, allocations: 4 kB / 1.074 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.805e-05/0.3915, allocations: 31.92 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3919, allocations: 17.3 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.3924, allocations: 225.1 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3928, allocations: 0.7004 MB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.3929, allocations: 11.78 kB / 1.075 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.3929, allocations: 11.44 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3929, allocations: 0 / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.005463/0.3984, allocations: 2.177 MB / 1.078 GB, free: 120 kB / 0.8262 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)