Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 177 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.5783 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 94.81 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 12.56 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002416/0.2125, allocations: 1.486 MB / 0.9023 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.214, allocations: 0.8753 MB / 0.9031 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2142, allocations: 0 / 0.9031 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.2148, allocations: 155.7 kB / 0.9033 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.215, allocations: 87.7 kB / 0.9034 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.2153, allocations: 122.3 kB / 0.9035 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.2155, allocations: 155.6 kB / 0.9036 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2156, allocations: 13.12 kB / 0.9036 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.2157, allocations: 63.69 kB / 0.9037 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.2158, allocations: 67.75 kB / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2158, allocations: 0 / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.216, allocations: 47.97 kB / 0.9038 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.216, allocations: 35.84 kB / 0.9038 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.2161, allocations: 45.64 kB / 0.9039 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2163, allocations: 151.9 kB / 0.904 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2163, allocations: 4 kB / 0.904 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2163, allocations: 0 / 0.904 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.2163, allocations: 0 / 0.904 GB, free: 60.97 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.0007401/0.2171, allocations: 476.2 kB / 0.9045 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2171, allocations: 8.031 kB / 0.9045 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.2172, allocations: 19.77 kB / 0.9045 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.2175, allocations: 247.6 kB / 0.9048 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2175, allocations: 0 / 0.9048 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2175, allocations: 8 kB / 0.9048 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2177, allocations: 95.3 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2177, allocations: 0 / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2178, allocations: 0 / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2178, allocations: 4 kB / 0.9049 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.2179, allocations: 39.94 kB / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.2183, allocations: 348.8 kB / 0.9052 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.2185, allocations: 78.61 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.2186, allocations: 32.8 kB / 0.9053 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.2186, allocations: 3.984 kB / 0.9053 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.2188, allocations: 83.34 kB / 0.9054 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.2188, allocations: 0 / 0.9054 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002977/0.2191, allocations: 145.4 kB / 0.9056 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.2192, allocations: 81.11 kB / 0.9056 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.2194, allocations: 262.9 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2194, allocations: 29.7 kB / 0.9059 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.2195, allocations: 116.1 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.2195, allocations: 23.66 kB / 0.906 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.2195, allocations: 4 kB / 0.9061 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.2196, allocations: 330.8 kB / 0.9064 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.2196, allocations: 31.92 kB / 0.9064 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.2197, allocations: 55.42 kB / 0.9064 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.208e-05/0.2198, allocations: 27.98 kB / 0.9065 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2198, allocations: 4.031 kB / 0.9065 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001678/0.22, allocations: 121.5 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.22, allocations: 4 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.22, allocations: 4.328 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.22, allocations: 4 kB / 0.9066 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.2201, allocations: 8 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2201, allocations: 3.938 kB / 0.9066 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.2202, allocations: 19.83 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2202, allocations: 4 kB / 0.9066 GB, free: 58.05 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.0001201/0.2204, allocations: 145.9 kB / 0.9068 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.2204, allocations: 15.81 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.2204, allocations: 21.39 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.2205, allocations: 3.953 kB / 0.9068 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2205, allocations: 4 kB / 0.9068 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2205, allocations: 0 / 0.9068 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2207, allocations: 217.6 kB / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2207, allocations: 0 / 0.907 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.2207, allocations: 4 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2207, allocations: 4 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2207, allocations: 4 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2207, allocations: 4 kB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2207, allocations: 7.938 kB / 0.9071 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.221, allocations: 136.9 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.221, allocations: 100.8 kB / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.221, allocations: 4 kB / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.2211, allocations: 4 kB / 0.9073 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.2211, allocations: 11.94 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2212, allocations: 4 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001455/0.2213, allocations: 200.2 kB / 0.9075 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2213, allocations: 0 / 0.9075 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002214/0.2215, allocations: 35.98 kB / 0.9075 GB, free: 57.04 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.0008937/0.2224, allocations: 435.2 kB / 0.9079 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2227, allocations: 67.98 kB / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2227, allocations: 0 / 0.908 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.2228, allocations: 39.92 kB / 0.908 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.223, allocations: 34.92 kB / 0.9081 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.2235, allocations: 359.8 kB / 0.9084 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.2237, allocations: 0.7204 MB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.2237, allocations: 23.42 kB / 0.9091 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2237, allocations: 4 kB / 0.9092 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.003705/0.2274, allocations: 2.522 MB / 0.9116 GB, free: 52.97 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)