Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001337/0.001337, 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.001652/0.001652, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.898/1.898, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002008, allocations: 74 kB / 0.6715 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002798/0.3452, allocations: 0.6223 MB / 0.784 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.3472, allocations: 1.113 MB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.3473, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3475, allocations: 11.94 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.3476, allocations: 11.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.3482, allocations: 124.3 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.3486, allocations: 191.7 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3487, allocations: 20 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3489, allocations: 79.81 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.3491, allocations: 59.81 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.3492, allocations: 19.94 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3493, allocations: 27.98 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.209e-05/0.3494, allocations: 23.97 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3496, allocations: 71.75 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.3499, allocations: 199.8 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3499, allocations: 0 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3499, allocations: 0 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.35, allocations: 4 kB / 0.7859 GB, free: 10.9 MB / 0.6075 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.0008701/0.3508, allocations: 446.7 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.3509, allocations: 8.031 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.351, allocations: 12.84 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.3514, allocations: 232.1 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3514, allocations: 4.375 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3515, allocations: 12.38 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.3517, allocations: 103.9 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3517, allocations: 192 / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3518, allocations: 3.938 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3518, allocations: 4 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3519, allocations: 43.91 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.3527, allocations: 492.8 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.3528, allocations: 49.2 kB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.3528, allocations: 34.8 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3529, allocations: 4 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.3531, allocations: 117 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3531, allocations: 3.938 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003603/0.3535, allocations: 133.5 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/0.3536, allocations: 85.09 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3537, allocations: 129.8 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.3538, allocations: 29.7 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3539, allocations: 107.9 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3539, allocations: 11.91 kB / 0.7879 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.354, allocations: 49.69 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3542, allocations: 326.8 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.3545, allocations: 123.9 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.3547, allocations: 165 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.3551, allocations: 216.4 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3551, allocations: 7.938 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006125/0.3557, allocations: 380.6 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.3558, allocations: 63.59 kB / 0.7891 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3558, allocations: 4 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3558, allocations: 3.984 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.163e-05/0.3559, allocations: 4 kB / 0.7891 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3559, allocations: 3.938 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.3563, allocations: 75.78 kB / 0.7892 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3564, allocations: 8 kB / 0.7892 GB, free: 7.125 MB / 0.6075 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.0001513/0.3565, allocations: 142.5 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.3565, allocations: 7.906 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.3566, allocations: 3.906 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3566, allocations: 4 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3566, allocations: 0 / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3566, allocations: 3.938 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.3568, allocations: 189.6 kB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3568, allocations: 0 / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.073e-05/0.3568, allocations: 0 / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3568, allocations: 12.31 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3569, allocations: 3.984 kB / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3569, allocations: 0 / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3569, allocations: 0 / 0.7896 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.3571, allocations: 145.7 kB / 0.7897 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.3571, allocations: 81.11 kB / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3572, allocations: 0 / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.3572, allocations: 8.062 kB / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.3572, allocations: 15.92 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3572, allocations: 4 kB / 0.7898 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.42e-05/0.3573, allocations: 95.27 kB / 0.7899 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3573, allocations: 0 / 0.7899 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002774/0.3576, allocations: 43.84 kB / 0.79 GB, free: 6.273 MB / 0.6075 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.0001795/0.3578, allocations: 103.2 kB / 0.79 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.3583, allocations: 334.5 kB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3583, allocations: 0 / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.3584, allocations: 35.97 kB / 0.7904 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3586, allocations: 19.92 kB / 0.7904 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.3591, allocations: 215.6 kB / 0.7906 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.3595, allocations: 0.699 MB / 0.7913 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.122e-05/0.3595, allocations: 11.98 kB / 0.7913 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.3595, allocations: 11.44 kB / 0.7913 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.3595, allocations: 0 / 0.7913 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.006511/0.3661, allocations: 2.248 MB / 0.7935 GB, free: 2.543 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1)