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.001599/0.001599, allocations: 101.4 kB / 15.7 MB, free: 28 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.00152/0.00152, allocations: 191.3 kB / 16.64 MB, free: 6.445 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.69/1.69, allocations: 205.1 MB / 222.5 MB, free: 4.559 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 2.053/2.053, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00148/0.00148, allocations: 72.38 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2942, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002339/0.2966, allocations: 0.6194 MB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2983, allocations: 1.113 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.2984, allocations: 4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2985, allocations: 3.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.2985, allocations: 11.92 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.2991, allocations: 118.5 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2993, allocations: 91.88 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2995, allocations: 8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.2996, allocations: 35.91 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2997, allocations: 35.89 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.2997, allocations: 8 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.333e-05/0.2998, allocations: 19.98 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.2999, allocations: 11.98 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.3, allocations: 31.91 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3002, allocations: 91.72 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3002, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3002, allocations: 0 / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.3002, allocations: 0 / 0.7863 GB, free: 10.5 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.0006225/0.3008, allocations: 393 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3009, allocations: 8.031 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.3009, allocations: 4.938 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3012, allocations: 176.3 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3012, allocations: 8.375 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3012, allocations: 12.36 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.3014, allocations: 46.25 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3014, allocations: 192 / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3014, allocations: 3.938 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3014, allocations: 0 / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.3015, allocations: 15.94 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.3019, allocations: 300.8 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.302, allocations: 22.56 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.302, allocations: 13.98 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.302, allocations: 3.938 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.3022, allocations: 59.3 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.3022, allocations: 0 / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/0.3024, allocations: 61.69 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3025, allocations: 51.41 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3026, allocations: 113.8 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3026, allocations: 33.7 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.3027, allocations: 84.05 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3027, allocations: 11.98 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.3028, allocations: 33.69 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.303, allocations: 314.8 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.3031, allocations: 27.98 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.3031, allocations: 46.56 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3033, allocations: 92.42 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3033, allocations: 0 / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002382/0.3035, allocations: 143.2 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.3036, allocations: 41.69 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3036, allocations: 3.938 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3036, allocations: 0 / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-05/0.3037, allocations: 4.094 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3037, allocations: 4 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3039, allocations: 24.28 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.3039, allocations: 7.984 kB / 0.7884 GB, free: 8.109 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.0001091/0.304, allocations: 117.8 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.3041, allocations: 4 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3041, allocations: 7.906 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3041, allocations: 0 / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3041, allocations: 4 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3041, allocations: 7.938 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3043, allocations: 169.5 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.3043, allocations: 4 kB / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.3043, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3043, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3043, allocations: 0 / 0.7887 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3043, allocations: 3.938 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3043, allocations: 3.984 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3045, allocations: 85.06 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.3045, allocations: 77.11 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.3045, allocations: 0 / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.3046, allocations: 0 / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3046, allocations: 7.984 kB / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3046, allocations: 0 / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.3047, allocations: 83.28 kB / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3047, allocations: 0 / 0.7889 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000219/0.3049, allocations: 20 kB / 0.7889 GB, free: 7.422 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.0001743/0.3051, allocations: 107.2 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.3054, allocations: 127.2 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3054, allocations: 0 / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.3054, allocations: 8 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.3056, allocations: 11.98 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.306, allocations: 138 kB / 0.7893 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3064, allocations: 0.6807 MB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.902e-05/0.3064, allocations: 3.938 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.3064, allocations: 11.44 kB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3064, allocations: 0 / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.004001/0.3104, allocations: 1.06 MB / 0.791 GB, free: 5.223 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (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)