Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 99.75 kB / 15.98 MB, free: 6.355 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.001582/0.001582, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.72/1.72, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.664/1.664, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001404/0.001405, allocations: 65.69 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2029, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00199/0.2049, allocations: 0.726 MB / 0.7842 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.2059, allocations: 0.8371 MB / 0.7851 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.2059, allocations: 3.938 kB / 0.7851 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.206, allocations: 11.94 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.642e-05/0.2061, allocations: 3.984 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.2062, allocations: 19.92 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2064, allocations: 71.88 kB / 0.7852 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.2065, allocations: 27.98 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.2066, allocations: 31.92 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.2067, allocations: 47.77 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2067, allocations: 4 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.2067, allocations: 4 kB / 0.7853 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.2068, allocations: 31.91 kB / 0.7853 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.2068, allocations: 35.84 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.522e-05/0.2069, allocations: 67.89 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2069, allocations: 0 / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.207, allocations: 3.938 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.207, allocations: 0 / 0.7854 GB, free: 11.97 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006248/0.2076, allocations: 399.5 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2076, allocations: 8.031 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.2077, allocations: 8.844 kB / 0.7858 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.2079, allocations: 192.2 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2079, allocations: 8.375 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.2079, allocations: 8.375 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2083, allocations: 167.3 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2083, allocations: 192 / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2083, allocations: 7.938 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2083, allocations: 3.984 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.2088, allocations: 155.8 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.2093, allocations: 444.8 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.2096, allocations: 113.1 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2098, allocations: 77.69 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2098, allocations: 8.062 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2099, allocations: 38.56 kB / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2099, allocations: 0 / 0.787 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0006795/0.2106, allocations: 229.5 kB / 0.7872 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.2106, allocations: 77.11 kB / 0.7873 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2107, allocations: 137.6 kB / 0.7874 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2107, allocations: 25.7 kB / 0.7874 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.2108, allocations: 99.89 kB / 0.7875 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2108, allocations: 7.906 kB / 0.7875 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.2109, allocations: 25.7 kB / 0.7875 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.211, allocations: 318.9 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.2112, allocations: 63.92 kB / 0.7879 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.2114, allocations: 85.62 kB / 0.788 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.2118, allocations: 125.6 kB / 0.7881 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2118, allocations: 0 / 0.7881 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004267/0.2122, allocations: 157.5 kB / 0.7883 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2122, allocations: 12.05 kB / 0.7883 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2122, allocations: 0 / 0.7883 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2123, allocations: 0 / 0.7883 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2124, allocations: 27.97 kB / 0.7883 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2125, allocations: 3.938 kB / 0.7883 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2126, allocations: 19.89 kB / 0.7883 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2126, allocations: 3.984 kB / 0.7883 GB, free: 8.711 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001125/0.2127, allocations: 134.4 kB / 0.7885 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.2128, allocations: 4 kB / 0.7885 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.2128, allocations: 11.53 kB / 0.7885 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2128, allocations: 0 / 0.7885 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2128, allocations: 3.938 kB / 0.7885 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2128, allocations: 4 kB / 0.7885 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.2131, allocations: 189.6 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2131, allocations: 3.984 kB / 0.7887 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2132, allocations: 27.91 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2133, allocations: 0 / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2133, allocations: 8 kB / 0.7887 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2133, allocations: 4 kB / 0.7887 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2133, allocations: 3.938 kB / 0.7887 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004953/0.2138, allocations: 330.5 kB / 0.789 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.2138, allocations: 81.11 kB / 0.7891 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2139, allocations: 8.375 kB / 0.7891 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.214, allocations: 15.97 kB / 0.7891 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.2141, allocations: 23.91 kB / 0.7891 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.2141, allocations: 4 kB / 0.7891 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.23e-05/0.2142, allocations: 95.2 kB / 0.7892 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2142, allocations: 0 / 0.7892 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002645/0.2145, allocations: 19.91 kB / 0.7893 GB, free: 7.66 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001173/0.2146, allocations: 107.2 kB / 0.7894 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.2151, allocations: 139.8 kB / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2151, allocations: 0 / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.2153, allocations: 84.03 kB / 0.7896 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.2156, allocations: 4 kB / 0.7896 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.2161, allocations: 248 kB / 0.7898 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.2164, allocations: 0.6963 MB / 0.7905 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.2164, allocations: 15.44 kB / 0.7905 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2164, allocations: 0 / 0.7905 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of Templates: time 0.002622/0.2191, allocations: 1.211 MB / 0.7917 GB, free: 5.098 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)