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.001027/0.001027, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.95 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3788, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002146/0.381, allocations: 0.6235 MB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3825, allocations: 1.11 MB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.3826, allocations: 4 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3827, allocations: 11.92 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.3828, allocations: 3.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.3833, allocations: 127.6 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.3835, allocations: 191.7 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3837, allocations: 19.98 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3838, allocations: 79.88 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.384, allocations: 63.8 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.3841, allocations: 16 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3842, allocations: 35.92 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.896e-05/0.3843, allocations: 19.92 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3844, allocations: 67.81 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3847, allocations: 195.8 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3847, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3847, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3847, allocations: 0 / 1.071 GB, free: 7.785 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.0007276/0.3854, allocations: 458.6 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3855, allocations: 12.03 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.3856, allocations: 16.84 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.3859, allocations: 216.3 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3859, allocations: 4.375 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.3859, allocations: 16.38 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3862, allocations: 95.86 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3862, allocations: 192 / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3862, allocations: 7.938 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3862, allocations: 7.984 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.552e-05/0.3863, allocations: 51.91 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.3869, allocations: 492.7 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.3871, allocations: 53.14 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.3871, allocations: 29.77 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.3871, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.3873, allocations: 113 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3873, allocations: 4 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003243/0.3876, allocations: 133.5 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3877, allocations: 81.09 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3879, allocations: 129.8 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.3879, allocations: 33.7 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.388, allocations: 96.05 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.388, allocations: 23.72 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3881, allocations: 53.69 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3883, allocations: 322.8 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3885, allocations: 131.8 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3887, allocations: 157 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3889, allocations: 228.3 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3889, allocations: 0 / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005401/0.3895, allocations: 380.6 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.3895, allocations: 68.95 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3896, allocations: 0 / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.3896, allocations: 8.188 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3896, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.39, allocations: 71.84 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3901, allocations: 11.98 kB / 1.074 GB, free: 4.004 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.0001198/0.3902, allocations: 138.3 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.3902, allocations: 7.906 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.3902, allocations: 15.89 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3903, allocations: 384 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3903, allocations: 0 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3903, allocations: 3.938 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.3904, allocations: 185.6 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3904, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.3905, allocations: 4 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3905, allocations: 3.984 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3905, allocations: 0 / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3905, allocations: 4 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3905, allocations: 8 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3907, allocations: 141.7 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3907, allocations: 77.11 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3907, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.3908, allocations: 7.984 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.3908, allocations: 7.938 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3908, allocations: 4 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.3909, allocations: 107.2 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3909, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002655/0.3911, allocations: 43.84 kB / 1.075 GB, free: 3.152 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.0002045/0.3914, allocations: 112.1 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.3918, allocations: 318.6 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3918, allocations: 4.312 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.3919, allocations: 39.97 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3922, allocations: 20.55 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3926, allocations: 215.2 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.393, allocations: 0.7002 MB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.393, allocations: 11.72 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.393, allocations: 11.44 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.393, allocations: 0 / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of Templates: time 0.004914/0.398, allocations: 2.26 MB / 1.078 GB, free: 15.41 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)