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.001352/0.001352, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002196/0.002196, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.702/1.702, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.939/1.939, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001476/0.001476, allocations: 65.31 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3007, allocations: 114.5 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.00232/0.303, allocations: 0.6911 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3045, allocations: 1.111 MB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.3046, allocations: 3.938 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3047, allocations: 0 / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.3048, allocations: 7.922 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.3053, allocations: 111.2 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3054, allocations: 91.83 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3055, allocations: 11.97 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.3056, allocations: 39.91 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.3057, allocations: 23.97 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3057, allocations: 8 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.3058, allocations: 23.98 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3059, allocations: 15.92 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.67e-05/0.3059, allocations: 31.91 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3061, allocations: 91.78 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3061, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3061, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.3061, allocations: 0 / 0.7851 GB, free: 11.65 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.000501/0.3066, allocations: 381.4 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3067, allocations: 16.03 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.3067, allocations: 4.938 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3069, allocations: 180.3 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3069, allocations: 8.312 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.307, allocations: 4.375 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3071, allocations: 50.25 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3071, allocations: 4.188 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3071, allocations: 7.875 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3072, allocations: 3.938 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.3072, allocations: 8 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3076, allocations: 312.7 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.3076, allocations: 22.58 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.3077, allocations: 8.922 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.3077, allocations: 0 / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3078, allocations: 67.3 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3079, allocations: 0 / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001916/0.308, allocations: 65.62 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3081, allocations: 51.41 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.3082, allocations: 105.8 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3082, allocations: 25.7 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.3083, allocations: 96.03 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.3083, allocations: 4 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.3084, allocations: 33.7 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.3085, allocations: 318.8 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.3085, allocations: 27.98 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.3086, allocations: 50.55 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.3087, allocations: 76.22 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3087, allocations: 4 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002163/0.3089, allocations: 151.2 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.309, allocations: 33.7 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.309, allocations: 0 / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.309, allocations: 0 / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.564e-05/0.309, allocations: 0 / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.309, allocations: 4 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.3093, allocations: 28.05 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3093, allocations: 12 kB / 0.7871 GB, free: 9.262 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 8.549e-05/0.3094, allocations: 117.7 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.3094, allocations: 4 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3094, allocations: 11.89 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3094, allocations: 240 / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3094, allocations: 0 / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3094, allocations: 3.984 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.3096, allocations: 169.5 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3096, allocations: 0 / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-06/0.3096, allocations: 16.23 kB / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3096, allocations: 0 / 0.7874 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3096, allocations: 4 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3096, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3096, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.847e-05/0.3097, allocations: 85 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.3097, allocations: 81.05 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3098, allocations: 3.984 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.3098, allocations: 4 kB / 0.7876 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3098, allocations: 8 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3098, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.127e-05/0.3099, allocations: 79.28 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3099, allocations: 0 / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002076/0.3101, allocations: 27.98 kB / 0.7877 GB, free: 8.555 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.000175/0.3103, allocations: 99.25 kB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.3105, allocations: 127.3 kB / 0.7879 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3105, allocations: 0 / 0.7879 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.3106, allocations: 15.98 kB / 0.7879 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.3108, allocations: 7.938 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.3111, allocations: 137.9 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3114, allocations: 0.6886 MB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.106e-05/0.3114, allocations: 4 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.3114, allocations: 7.438 kB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3114, allocations: 0 / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.003395/0.3148, allocations: 1.035 MB / 0.7898 GB, free: 6.375 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)