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.0007338/0.0007338, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0007696/0.0007699, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.651/1.651, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005134/0.0005135, allocations: 18.88 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2297, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.0007926/0.2305, allocations: 361.8 kB / 0.7876 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2318, allocations: 1.091 MB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.2319, allocations: 3.938 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.152e-05/0.232, allocations: 7.984 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.232, allocations: 3.938 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.2324, allocations: 98.86 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.2326, allocations: 155.7 kB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2327, allocations: 15.98 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.2328, allocations: 55.89 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.2329, allocations: 59.73 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.2329, allocations: 8 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.085e-05/0.233, allocations: 27.98 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.2331, allocations: 11.98 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.2331, allocations: 45.64 kB / 0.7892 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2333, allocations: 147.9 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2333, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2333, allocations: 0 / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.2333, allocations: 0 / 0.7893 GB, free: 9.848 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.0004699/0.2338, allocations: 418.5 kB / 0.7897 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2338, allocations: 8.031 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.2339, allocations: 19.89 kB / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2341, allocations: 222.9 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2342, allocations: 15.92 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.2342, allocations: 12 kB / 0.79 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2344, allocations: 95.36 kB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.2344, allocations: 0 / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2344, allocations: 0 / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2344, allocations: 4 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.2345, allocations: 39.91 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.235, allocations: 496.8 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.116e-05/0.2351, allocations: 57.19 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.2351, allocations: 29.77 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.2352, allocations: 0 / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.2353, allocations: 121 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.2353, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002483/0.2356, allocations: 133.4 kB / 0.7909 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.2356, allocations: 85.11 kB / 0.791 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.2357, allocations: 133.7 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.2358, allocations: 33.69 kB / 0.7911 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.2359, allocations: 96.05 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2359, allocations: 15.89 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.2359, allocations: 0 / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.236, allocations: 322.8 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2362, allocations: 127.8 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.2364, allocations: 165 kB / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.2366, allocations: 171.2 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2366, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005128/0.2372, allocations: 380.7 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.2372, allocations: 67.39 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2372, allocations: 4 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2372, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.208e-05/0.2373, allocations: 7.953 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.2373, allocations: 0 / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.2377, allocations: 91.88 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.2377, allocations: 15.98 kB / 0.7925 GB, free: 6.207 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 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.2378, allocations: 142 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2379, allocations: 8 kB / 0.7927 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.2379, allocations: 11.89 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2379, allocations: 7.984 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2379, allocations: 3.953 kB / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2379, allocations: 0 / 0.7927 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2381, allocations: 181.6 kB / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2381, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-06/0.2381, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2381, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2381, allocations: 8 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2381, allocations: 0 / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2381, allocations: 4 kB / 0.7929 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.2383, allocations: 141.8 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.2383, allocations: 85.02 kB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2384, allocations: 3.984 kB / 0.7931 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.2384, allocations: 4.062 kB / 0.7931 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.2384, allocations: 8 kB / 0.7931 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2384, allocations: 8 kB / 0.7931 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.2385, allocations: 107.1 kB / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2385, allocations: 0 / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002385/0.2388, allocations: 39.94 kB / 0.7933 GB, free: 5.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.2389, allocations: 108.1 kB / 0.7934 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004043/0.2393, allocations: 318.6 kB / 0.7937 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2393, allocations: 384 / 0.7937 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.2394, allocations: 39.91 kB / 0.7937 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.2396, allocations: 22.42 kB / 0.7937 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.24, allocations: 227.9 kB / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2403, allocations: 0.6965 MB / 0.7946 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.2403, allocations: 11.92 kB / 0.7947 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.2403, allocations: 15.38 kB / 0.7947 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2403, allocations: 0 / 0.7947 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of Templates: time 0.004352/0.2447, allocations: 2.089 MB / 0.7967 GB, free: 1.777 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: