Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.458/2.458, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 181.6 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 94.17 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004725, allocations: 12.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.0023/0.2139, allocations: 1.462 MB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2157, allocations: 0.8608 MB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.2159, allocations: 0 / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.2166, allocations: 143.6 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.2169, allocations: 91.8 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.2175, allocations: 125.3 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.2177, allocations: 107.7 kB / 0.9016 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2178, allocations: 17.12 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.218, allocations: 63.69 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2181, allocations: 59.81 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2181, allocations: 4 kB / 0.9017 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.2183, allocations: 39.91 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.2184, allocations: 35.91 kB / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.2184, allocations: 41.64 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.2187, allocations: 155.9 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2187, allocations: 0 / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2187, allocations: 4 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2188, allocations: 0 / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007373/0.2195, allocations: 476.2 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2196, allocations: 8.031 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.2196, allocations: 19.77 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.22, allocations: 239.7 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.22, allocations: 7.938 kB / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.2201, allocations: 0 / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2203, allocations: 95.31 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2203, allocations: 0 / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.2204, allocations: 4 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.2204, allocations: 3.953 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.2206, allocations: 31.98 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.2212, allocations: 356.7 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.2215, allocations: 78.61 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2215, allocations: 4.062 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.2217, allocations: 83.33 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.817e-06/0.2218, allocations: 96 / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004851/0.2222, allocations: 226.5 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2223, allocations: 81.39 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.2227, allocations: 262.9 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2227, allocations: 29.69 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.2228, allocations: 124 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.2228, allocations: 23.7 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2228, allocations: 0 / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.2229, allocations: 330.8 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.223, allocations: 27.98 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2232, allocations: 59.41 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2233, allocations: 28 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2233, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002914/0.2236, allocations: 113.5 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2236, allocations: 15.95 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.2236, allocations: 4 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2237, allocations: 0 / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.2238, allocations: 15.92 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2238, allocations: 4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2239, allocations: 15.83 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.224, allocations: 0 / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001511/0.2241, allocations: 141.8 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.2242, allocations: 23.8 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/0.2242, allocations: 17.36 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.2243, allocations: 4 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2243, allocations: 0 / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2243, allocations: 3.984 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.2246, allocations: 221.6 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2246, allocations: 4 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.2246, allocations: 0 / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.2246, allocations: 4 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2247, allocations: 0 / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2247, allocations: 3.953 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2247, allocations: 4 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.225, allocations: 148.9 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.2251, allocations: 96.86 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.2251, allocations: 4 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.2252, allocations: 7.984 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.2253, allocations: 7.953 kB / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.2253, allocations: 3.984 kB / 0.9053 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002338/0.2256, allocations: 200.2 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2256, allocations: 0 / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003426/0.2259, allocations: 28 kB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.001209/0.2271, allocations: 432.5 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.2275, allocations: 67.91 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2275, allocations: 4.062 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.2277, allocations: 43.92 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.228, allocations: 31.97 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.2288, allocations: 310.2 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.229, allocations: 0.7282 MB / 0.9071 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.2291, allocations: 29.7 kB / 0.9071 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.2292, allocations: 15.44 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of SimCode: time 8.51e-07/0.2292, allocations: 0 / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.007337/0.2365, allocations: 2.118 MB / 0.9092 GB, free: 54.65 MB / 0.6042 GB