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.001496/0.001496, allocations: 106.5 kB / 16.36 MB, free: 6.309 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.00175/0.00175, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.002593/0.002593, allocations: 63.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001759/0.2383, allocations: 0.6349 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.2397, allocations: 1.125 MB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.2397, allocations: 0 / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.724e-05/0.2398, allocations: 7.938 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.2399, allocations: 0 / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.2403, allocations: 127 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.2406, allocations: 195.7 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2407, allocations: 19.98 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.2408, allocations: 83.88 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.2409, allocations: 67.84 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.241, allocations: 12 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.241, allocations: 35.92 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.2411, allocations: 19.98 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.2412, allocations: 71.75 kB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2414, allocations: 203.4 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2414, allocations: 0 / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2415, allocations: 0 / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2415, allocations: 0 / 0.7873 GB, free: 0.5703 MB / 0.6544 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.0005338/0.242, allocations: 458.7 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.242, allocations: 8.031 kB / 0.7878 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.2421, allocations: 12.84 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.299/0.5411, allocations: 209.2 kB / 0.788 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.5412, allocations: 11.31 kB / 0.788 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.5413, allocations: 13.12 kB / 0.788 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.5415, allocations: 98.88 kB / 0.7881 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5415, allocations: 0.9375 kB / 0.7881 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5415, allocations: 10.12 kB / 0.7881 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5415, allocations: 5.375 kB / 0.7881 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.5416, allocations: 47.5 kB / 0.7881 GB, free: 49.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.5421, allocations: 491.4 kB / 0.7886 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.5421, allocations: 55.28 kB / 0.7887 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.5422, allocations: 33.39 kB / 0.7887 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.5422, allocations: 3.375 kB / 0.7887 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.5423, allocations: 109.7 kB / 0.7888 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5423, allocations: 0 / 0.7888 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0002448/0.5426, allocations: 131.6 kB / 0.7889 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.5426, allocations: 81.8 kB / 0.789 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.5427, allocations: 139.6 kB / 0.7891 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5427, allocations: 32.64 kB / 0.7892 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.5428, allocations: 96.66 kB / 0.7893 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.5428, allocations: 19.45 kB / 0.7893 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.5429, allocations: 53.53 kB / 0.7893 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.5429, allocations: 326.8 kB / 0.7896 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5431, allocations: 121.9 kB / 0.7898 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.5433, allocations: 162.9 kB / 0.7899 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.5435, allocations: 220.4 kB / 0.7901 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5435, allocations: 2.625 kB / 0.7901 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004427/0.544, allocations: 384.4 kB / 0.7905 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.544, allocations: 63.36 kB / 0.7906 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.544, allocations: 1.844 kB / 0.7906 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5441, allocations: 7.219 kB / 0.7906 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.98e-05/0.5441, allocations: 2.062 kB / 0.7906 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5441, allocations: 1.469 kB / 0.7906 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.5444, allocations: 67 kB / 0.7906 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.5445, allocations: 13.98 kB / 0.7906 GB, free: 47.77 MB / 0.6544 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 9.059e-05/0.5446, allocations: 145.1 kB / 0.7908 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.5446, allocations: 9.719 kB / 0.7908 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.5446, allocations: 11.31 kB / 0.7908 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5446, allocations: 1.406 kB / 0.7908 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5447, allocations: 1.688 kB / 0.7908 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.5447, allocations: 0 / 0.7908 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.482e-05/0.5448, allocations: 192.3 kB / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5448, allocations: 1.5 kB / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-06/0.5448, allocations: 4.75 kB / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5448, allocations: 0 / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5448, allocations: 1.156 kB / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5448, allocations: 0.9375 kB / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5448, allocations: 0.5 kB / 0.791 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.5449, allocations: 141.3 kB / 0.7911 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.545, allocations: 84.98 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.545, allocations: 2.625 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.545, allocations: 0.7812 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.545, allocations: 5.172 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.5451, allocations: 9.391 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.5451, allocations: 101.9 kB / 0.7913 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5451, allocations: 0 / 0.7913 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002342/0.5453, allocations: 36.72 kB / 0.7914 GB, free: 47.2 MB / 0.6544 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.0001205/0.5455, allocations: 114.8 kB / 0.7915 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.5458, allocations: 322.2 kB / 0.7918 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5458, allocations: 2.625 kB / 0.7918 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.5459, allocations: 45.22 kB / 0.7918 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.5461, allocations: 25.39 kB / 0.7919 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.5465, allocations: 235.7 kB / 0.7921 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.5466, allocations: 0.6961 MB / 0.7928 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.5466, allocations: 12.69 kB / 0.7928 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.5466, allocations: 0 / 0.7928 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.002797/0.5494, allocations: 1.771 MB / 0.7945 GB, free: 46.05 MB / 0.6544 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)