Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, 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.01154/0.01154, 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 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.864/1.864, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006871/0.0006872, allocations: 14.56 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4019, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001363/0.4033, allocations: 353.8 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.4059, allocations: 1.122 MB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.406, allocations: 0 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.4062, allocations: 3.938 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.4063, allocations: 0 / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00079/0.4071, allocations: 115 kB / 0.7894 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.4073, allocations: 71.89 kB / 0.7895 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4074, allocations: 0 / 0.7895 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.4076, allocations: 43.91 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4077, allocations: 19.91 kB / 0.7896 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.4077, allocations: 4 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.4079, allocations: 19.98 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.408, allocations: 11.92 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.4081, allocations: 57.61 kB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.4083, allocations: 83.77 kB / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4084, allocations: 0 / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.657e-06/0.4084, allocations: 0 / 0.7897 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4084, allocations: 0 / 0.7897 GB, free: 9.645 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006328/0.409, allocations: 369.4 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.4091, allocations: 8.031 kB / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.4092, allocations: 8.938 kB / 0.7901 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4095, allocations: 184.3 kB / 0.7903 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.4095, allocations: 4.375 kB / 0.7903 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4095, allocations: 4.375 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.4098, allocations: 46.19 kB / 0.7903 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4098, allocations: 192 / 0.7903 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.4098, allocations: 3.938 kB / 0.7903 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4098, allocations: 4 kB / 0.7903 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.4099, allocations: 12 kB / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.4104, allocations: 308.8 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.4105, allocations: 22.52 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.4105, allocations: 16.73 kB / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.4105, allocations: 0 / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.4107, allocations: 67.36 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.4107, allocations: 0 / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002364/0.411, allocations: 65.62 kB / 0.7908 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.411, allocations: 51.41 kB / 0.7909 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4112, allocations: 109.8 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.4112, allocations: 25.7 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.4113, allocations: 96.03 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4113, allocations: 11.98 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.4113, allocations: 17.72 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4115, allocations: 318.8 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.4116, allocations: 27.98 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.4117, allocations: 50.55 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.4118, allocations: 84.2 kB / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4118, allocations: 0 / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002669/0.4121, allocations: 147.2 kB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.4122, allocations: 29.7 kB / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4122, allocations: 4 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4122, allocations: 0 / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.4122, allocations: 3.984 kB / 0.7918 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4122, allocations: 4 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.4125, allocations: 40.06 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4125, allocations: 4.312 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001207/0.4127, allocations: 125.8 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.4127, allocations: 240 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.4127, allocations: 3.906 kB / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4127, allocations: 3.984 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4127, allocations: 8 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4128, allocations: 7.938 kB / 0.7919 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.4129, allocations: 161.6 kB / 0.7921 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.413, allocations: 4 kB / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.413, allocations: 0 / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.413, allocations: 0 / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.413, allocations: 0 / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.413, allocations: 0 / 0.7921 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.413, allocations: 3.938 kB / 0.7921 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.4132, allocations: 88.97 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.4132, allocations: 81.09 kB / 0.7923 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.4133, allocations: 4 kB / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.4133, allocations: 0 / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4133, allocations: 4 kB / 0.7923 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4133, allocations: 3.938 kB / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.4134, allocations: 83.27 kB / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4134, allocations: 0 / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002437/0.4137, allocations: 24 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002103/0.4139, allocations: 107.2 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002621/0.4142, allocations: 119.3 kB / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4142, allocations: 0 / 0.7926 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.4142, allocations: 19.92 kB / 0.7926 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.4145, allocations: 4 kB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.415, allocations: 146.8 kB / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.4155, allocations: 0.6809 MB / 0.7934 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.4155, allocations: 4 kB / 0.7934 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.4156, allocations: 7.438 kB / 0.7934 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.4156, allocations: 0 / 0.7934 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of Templates: time 0.005434/0.421, allocations: 0.9989 MB / 0.7944 GB, free: 4.43 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: