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.407/1.407, allocations: 252 MB / 268 MB, free: 10.84 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.00106/0.00106, allocations: 170.6 kB / 327.6 MB, free: 2.07 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.866/1.866, allocations: 205.4 MB / 0.5786 GB, free: 20.08 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.0008338/0.000834, allocations: 88.2 kB / 0.6832 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 8.438 kB / 0.7976 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2335, allocations: 106.3 MB / 0.9014 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002114/0.2356, allocations: 1.501 MB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2371, allocations: 0.9333 MB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.2372, allocations: 0 / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006119/0.2378, allocations: 158.2 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.2381, allocations: 103.7 kB / 0.9041 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.2385, allocations: 130 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.2387, allocations: 159.6 kB / 0.9044 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2388, allocations: 29.08 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2389, allocations: 59.7 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.2391, allocations: 67.69 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.2391, allocations: 0 / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.2392, allocations: 47.98 kB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.2393, allocations: 43.89 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.2394, allocations: 81.25 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.2396, allocations: 151.9 kB / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2396, allocations: 0 / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2396, allocations: 0 / 0.9048 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.2396, allocations: 0 / 0.9048 GB, free: 59.83 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.0007757/0.2404, allocations: 468.5 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2405, allocations: 8.031 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.2405, allocations: 16.75 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.2408, allocations: 256.8 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2409, allocations: 4.375 kB / 0.9055 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2409, allocations: 4.125 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2411, allocations: 95.31 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2411, allocations: 0 / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2411, allocations: 0 / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2411, allocations: 4 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.2412, allocations: 35.92 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.2417, allocations: 360.6 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.2419, allocations: 78.61 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.242, allocations: 32.84 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.242, allocations: 8 kB / 0.9061 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.2422, allocations: 75.39 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.963e-06/0.2422, allocations: 0 / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003342/0.2425, allocations: 149.3 kB / 0.9063 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.2426, allocations: 81.11 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.2428, allocations: 263.6 kB / 0.9067 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2429, allocations: 29.7 kB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.2429, allocations: 116.1 kB / 0.9068 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.243, allocations: 31.62 kB / 0.9068 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.243, allocations: 0 / 0.9068 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.2431, allocations: 330.8 kB / 0.9071 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.2431, allocations: 27.98 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.2432, allocations: 63.36 kB / 0.9072 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2433, allocations: 73.72 kB / 0.9073 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2433, allocations: 112 / 0.9073 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001638/0.2435, allocations: 117.4 kB / 0.9074 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2435, allocations: 7.984 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2435, allocations: 0 / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2436, allocations: 0 / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.2436, allocations: 12 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2437, allocations: 4.312 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.2437, allocations: 11.97 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2437, allocations: 4 kB / 0.9075 GB, free: 56.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.2439, allocations: 142.5 kB / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.2439, allocations: 23.73 kB / 0.9076 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.2439, allocations: 17.41 kB / 0.9076 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.244, allocations: 3.984 kB / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.244, allocations: 4 kB / 0.9076 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.244, allocations: 7.938 kB / 0.9076 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2441, allocations: 229.5 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.2442, allocations: 0 / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.2442, allocations: 4 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2442, allocations: 0 / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2442, allocations: 0 / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2442, allocations: 0 / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2442, allocations: 4 kB / 0.9079 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.2444, allocations: 144.8 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.2445, allocations: 100.9 kB / 0.9081 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.2445, allocations: 7.984 kB / 0.9081 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.2446, allocations: 4 kB / 0.9081 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.2446, allocations: 7.984 kB / 0.9081 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2446, allocations: 7.938 kB / 0.9081 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001361/0.2448, allocations: 192.4 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2448, allocations: 0 / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002254/0.245, allocations: 31.98 kB / 0.9083 GB, free: 55.85 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 (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.0009566/0.246, allocations: 431.6 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.2462, allocations: 67.97 kB / 0.9088 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2462, allocations: 0 / 0.9088 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.2463, allocations: 39.92 kB / 0.9089 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2466, allocations: 38.7 kB / 0.9089 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.2471, allocations: 357.6 kB / 0.9092 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.2472, allocations: 0.7282 MB / 0.91 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.2473, allocations: 23.44 kB / 0.91 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2473, allocations: 0 / 0.91 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.004023/0.2513, allocations: 2.519 MB / 0.9124 GB, free: 51.78 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)