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.001409/0.001409, allocations: 110 kB / 15.99 MB, free: 5.895 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.001546/0.001546, allocations: 197.6 kB / 16.91 MB, free: 5.742 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.587/1.587, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.704/1.704, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001464/0.001464, allocations: 66.53 kB / 0.6717 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.211, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001868/0.2129, allocations: 0.6922 MB / 0.7842 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2143, allocations: 1.107 MB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.2143, allocations: 0 / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.2145, allocations: 3.938 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.2146, allocations: 11.92 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.215, allocations: 107 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2153, allocations: 199.7 kB / 0.7856 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.2154, allocations: 15.98 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.2155, allocations: 75.89 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2156, allocations: 63.8 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.2157, allocations: 16 kB / 0.7858 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.2158, allocations: 27.98 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.2158, allocations: 31.91 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2159, allocations: 67.77 kB / 0.7859 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.2161, allocations: 147.9 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2162, allocations: 3.938 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2162, allocations: 0 / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2162, allocations: 0 / 0.786 GB, free: 11.31 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.0006444/0.2168, allocations: 450.7 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2169, allocations: 12.03 kB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.2169, allocations: 16.84 kB / 0.7865 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.2172, allocations: 224.1 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2172, allocations: 4.375 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.2173, allocations: 12.38 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2175, allocations: 107.8 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2175, allocations: 192 / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.2175, allocations: 7.938 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2175, allocations: 3.938 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.058e-05/0.2176, allocations: 47.97 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.2181, allocations: 492.8 kB / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.2182, allocations: 61.12 kB / 0.7874 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.2182, allocations: 33.75 kB / 0.7874 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.2183, allocations: 0 / 0.7874 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.2184, allocations: 109 kB / 0.7875 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.2184, allocations: 0 / 0.7875 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002698/0.2187, allocations: 137.5 kB / 0.7877 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2187, allocations: 81.05 kB / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2189, allocations: 129.8 kB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.2189, allocations: 33.7 kB / 0.7879 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.219, allocations: 103.9 kB / 0.788 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.219, allocations: 7.906 kB / 0.788 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2191, allocations: 53.69 kB / 0.7881 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2192, allocations: 326.8 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2194, allocations: 119.9 kB / 0.7885 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.2196, allocations: 169 kB / 0.7886 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.2199, allocations: 220.4 kB / 0.7889 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2199, allocations: 0 / 0.7889 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005549/0.2205, allocations: 380.6 kB / 0.7892 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.2205, allocations: 63.41 kB / 0.7893 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2206, allocations: 7.938 kB / 0.7893 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2206, allocations: 3.984 kB / 0.7893 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.2206, allocations: 7.938 kB / 0.7893 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2206, allocations: 8.188 kB / 0.7893 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.221, allocations: 71.78 kB / 0.7894 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.2211, allocations: 8 kB / 0.7894 GB, free: 7.52 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.0001261/0.2212, allocations: 138.5 kB / 0.7895 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.2212, allocations: 7.906 kB / 0.7895 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.2213, allocations: 15.84 kB / 0.7895 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2213, allocations: 0 / 0.7895 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2213, allocations: 3.938 kB / 0.7895 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2213, allocations: 3.938 kB / 0.7895 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.2215, allocations: 185.6 kB / 0.7897 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2215, allocations: 384 / 0.7897 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.2215, allocations: 4 kB / 0.7897 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2215, allocations: 0 / 0.7897 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2215, allocations: 3.984 kB / 0.7897 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2215, allocations: 4 kB / 0.7897 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2215, allocations: 0 / 0.7897 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.2217, allocations: 145.8 kB / 0.7899 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.2217, allocations: 77.11 kB / 0.7899 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2218, allocations: 4 kB / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.2218, allocations: 0 / 0.7899 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.2218, allocations: 15.86 kB / 0.79 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2218, allocations: 4 kB / 0.79 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.2219, allocations: 99.27 kB / 0.7901 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2219, allocations: 0 / 0.7901 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002436/0.2221, allocations: 43.84 kB / 0.7901 GB, free: 6.672 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.0001547/0.2223, allocations: 107.2 kB / 0.7902 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.2227, allocations: 318.6 kB / 0.7905 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2228, allocations: 4 kB / 0.7905 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.2228, allocations: 48.28 kB / 0.7906 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2231, allocations: 16.86 kB / 0.7906 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.2235, allocations: 253 kB / 0.7908 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2238, allocations: 0.708 MB / 0.7915 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.2238, allocations: 11.44 kB / 0.7915 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2238, allocations: 0 / 0.7915 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.003213/0.227, allocations: 1.781 MB / 0.7933 GB, free: 3.355 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)