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.00111/0.001115, allocations: 109.4 kB / 15.69 MB, free: 128 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.00117/0.00117, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.878/1.878, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001597/0.001598, allocations: 74.17 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3298, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002365/0.3322, allocations: 0.6193 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.334, allocations: 1.117 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.3341, allocations: 7.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.3343, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3344, allocations: 7.922 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.3349, allocations: 119 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.3352, allocations: 199.7 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3354, allocations: 23.98 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.3355, allocations: 75.89 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.3357, allocations: 67.83 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.3358, allocations: 19.94 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.3359, allocations: 31.98 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.3359, allocations: 19.98 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3361, allocations: 75.75 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.3364, allocations: 199.4 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3364, allocations: 0 / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3364, allocations: 0 / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3364, allocations: 0 / 0.7866 GB, free: 10.16 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.0007433/0.3371, allocations: 450.7 kB / 0.7871 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3372, allocations: 16.02 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.3373, allocations: 12.84 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3376, allocations: 220.2 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3376, allocations: 8.375 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.3377, allocations: 12.38 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.3379, allocations: 103.9 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3379, allocations: 4.125 kB / 0.7874 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3379, allocations: 7.938 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3379, allocations: 0 / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.338, allocations: 39.97 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.3386, allocations: 496.7 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.3387, allocations: 54.2 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.3387, allocations: 33.77 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-06/0.3387, allocations: 0 / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3389, allocations: 121 kB / 0.7882 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3389, allocations: 0 / 0.7882 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0003001/0.3392, allocations: 129.5 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.3393, allocations: 81.11 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3394, allocations: 133.8 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3395, allocations: 29.7 kB / 0.7885 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.616e-05/0.3396, allocations: 99.95 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3396, allocations: 23.88 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.3397, allocations: 49.69 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3398, allocations: 322.8 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.34, allocations: 123.9 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3402, allocations: 157.5 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.3405, allocations: 228.8 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3405, allocations: 0 / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005406/0.3411, allocations: 380.6 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.3411, allocations: 67.58 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3411, allocations: 8 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3412, allocations: 0 / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.312e-05/0.3412, allocations: 4 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3412, allocations: 0 / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.3416, allocations: 71.78 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.3416, allocations: 15.98 kB / 0.79 GB, free: 6.383 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.000142/0.3418, allocations: 138.4 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3418, allocations: 7.906 kB / 0.7901 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3418, allocations: 11.84 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3419, allocations: 4 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3419, allocations: 0 / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3419, allocations: 3.938 kB / 0.7901 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.342, allocations: 181.6 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3421, allocations: 0 / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.3421, allocations: 7.984 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3421, allocations: 8 kB / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3421, allocations: 0 / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3421, allocations: 0 / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3421, allocations: 80 / 0.7903 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.3423, allocations: 137.8 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.3423, allocations: 81.11 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.3424, allocations: 7.938 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/0.3424, allocations: 7.938 kB / 0.7906 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3424, allocations: 11.92 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.3425, allocations: 4 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.3425, allocations: 103.3 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3425, allocations: 0 / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000252/0.3428, allocations: 39.84 kB / 0.7907 GB, free: 5.535 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.0001824/0.343, allocations: 107.2 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004936/0.3435, allocations: 330.7 kB / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3435, allocations: 0 / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.3436, allocations: 35.91 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3438, allocations: 19.97 kB / 0.7912 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.3443, allocations: 215.3 kB / 0.7914 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3445, allocations: 0.6995 MB / 0.7921 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3446, allocations: 15.77 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.3446, allocations: 11.44 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/0.3446, allocations: 0 / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.005294/0.3499, allocations: 2.263 MB / 0.7943 GB, free: 1.789 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)