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.001631/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002061/0.002061, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 62.05 kB / 0.9115 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3735, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001942/0.3755, allocations: 0.6905 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.377, allocations: 1.12 MB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.377, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.29e-05/0.3771, allocations: 3.938 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.3772, allocations: 8 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.3776, allocations: 107.3 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.3779, allocations: 203.6 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.378, allocations: 16 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.823e-05/0.3781, allocations: 83.88 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3782, allocations: 47.88 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.3782, allocations: 16 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.3783, allocations: 31.98 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.3784, allocations: 27.89 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.3785, allocations: 67.84 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.3788, allocations: 199.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3788, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.075e-06/0.3788, allocations: 3.984 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3788, allocations: 0 / 1.07 GB, free: 8.145 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.0005714/0.3794, allocations: 462.6 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3794, allocations: 8.031 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.3795, allocations: 12.84 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.3797, allocations: 212.3 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3797, allocations: 12.38 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.3798, allocations: 8.375 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.38, allocations: 99.86 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.38, allocations: 4.125 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.38, allocations: 15.92 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.38, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.3801, allocations: 43.95 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.3807, allocations: 492.7 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.754e-05/0.3808, allocations: 61.14 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.3808, allocations: 25.77 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.3808, allocations: 3.984 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.381, allocations: 121 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.381, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002829/0.3813, allocations: 133.5 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3814, allocations: 81.05 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3815, allocations: 133.8 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.3815, allocations: 29.7 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.3816, allocations: 96.03 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.3816, allocations: 19.75 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3818, allocations: 57.69 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3819, allocations: 322.8 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.3821, allocations: 119.9 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3823, allocations: 165.4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3826, allocations: 224.4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3826, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000559/0.3832, allocations: 380.6 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/0.3833, allocations: 67.41 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3833, allocations: 192 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3833, allocations: 8 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.967e-05/0.3833, allocations: 7.922 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3833, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.3837, allocations: 59.97 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3838, allocations: 15.98 kB / 1.074 GB, free: 4.359 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.0001404/0.3839, allocations: 137.8 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.384, allocations: 7.891 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.384, allocations: 11.91 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.384, allocations: 0 / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.384, allocations: 0 / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.384, allocations: 8.312 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.3842, allocations: 185.6 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3842, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.3842, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3842, allocations: 0 / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.3842, allocations: 3.984 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3842, allocations: 8 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3842, allocations: 7.922 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.3844, allocations: 129.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.3845, allocations: 81.09 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3845, allocations: 8 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.3845, allocations: 0 / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.3846, allocations: 15.88 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3846, allocations: 3.984 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001002/0.3847, allocations: 107.2 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3847, allocations: 3.938 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002563/0.3849, allocations: 39.84 kB / 1.074 GB, free: 3.504 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.000149/0.3851, allocations: 103.2 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.3855, allocations: 326.8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3856, allocations: 4.125 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.626e-05/0.3856, allocations: 35.92 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3859, allocations: 16.75 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.3863, allocations: 231.3 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3866, allocations: 0.6963 MB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.3866, allocations: 11.78 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.3867, allocations: 19.42 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3867, allocations: 0 / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of Templates: time 0.004665/0.3913, allocations: 2.239 MB / 1.078 GB, free: 15.77 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)