Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 288.4 MB / 303.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 192.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009161/0.0009163, allocations: 98.84 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 16.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2391, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002701/0.2419, allocations: 1.459 MB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2437, allocations: 0.8831 MB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.2439, allocations: 4 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006633/0.2446, allocations: 153.7 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.2449, allocations: 91.75 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.2453, allocations: 121.2 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.2456, allocations: 155.6 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2457, allocations: 13.11 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2458, allocations: 63.7 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.2459, allocations: 59.75 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.246, allocations: 4 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2462, allocations: 55.84 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.2462, allocations: 31.91 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.2463, allocations: 49.64 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.2466, allocations: 148 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2466, allocations: 0 / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2466, allocations: 0 / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2466, allocations: 0 / 0.9828 GB, free: 24.36 MB / 0.6198 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.0007639/0.2474, allocations: 477.8 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2474, allocations: 16 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.2475, allocations: 23.67 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.2478, allocations: 231.8 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2478, allocations: 8 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2478, allocations: 8 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.248, allocations: 87.31 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.248, allocations: 7.922 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2481, allocations: 0 / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2481, allocations: 4 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.2482, allocations: 35.98 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.2487, allocations: 360.6 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2488, allocations: 70.67 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.2489, allocations: 32.84 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.2489, allocations: 4 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.2491, allocations: 87.31 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.2491, allocations: 0 / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003146/0.2494, allocations: 149.4 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2495, allocations: 77.11 kB / 0.9844 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2497, allocations: 255.7 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.2497, allocations: 29.7 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.2498, allocations: 116 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2498, allocations: 39.62 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.2498, allocations: 112 / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.2499, allocations: 330.8 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.25, allocations: 27.98 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.25, allocations: 55.42 kB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.569e-05/0.2501, allocations: 31.98 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2501, allocations: 4.406 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001733/0.2503, allocations: 117.4 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2503, allocations: 7.938 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2503, allocations: 0 / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2503, allocations: 3.953 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.2504, allocations: 19.98 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2505, allocations: 0 / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.2505, allocations: 4 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.2505, allocations: 4 kB / 0.9854 GB, free: 21.44 MB / 0.6198 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.0001086/0.2507, allocations: 143.4 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.2507, allocations: 15.81 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.2507, allocations: 21.39 kB / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.2507, allocations: 0 / 0.9856 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2508, allocations: 7.953 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2508, allocations: 4 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.2509, allocations: 229.4 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2509, allocations: 0 / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.251, allocations: 15.92 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.251, allocations: 0 / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.251, allocations: 0 / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.251, allocations: 0 / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.251, allocations: 4 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.2512, allocations: 136.9 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.2513, allocations: 96.91 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2513, allocations: 0 / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.2513, allocations: 15.92 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2514, allocations: 11.94 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.2514, allocations: 4 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001415/0.2516, allocations: 200.3 kB / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2516, allocations: 0 / 0.9862 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002313/0.2518, allocations: 28 kB / 0.9863 GB, free: 20.43 MB / 0.6198 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.0009128/0.2527, allocations: 440.6 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2529, allocations: 71.91 kB / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.253, allocations: 0 / 0.9868 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.253, allocations: 35.98 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2533, allocations: 35.48 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.2538, allocations: 322.5 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.254, allocations: 0.7204 MB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.532e-05/0.254, allocations: 25.72 kB / 0.9879 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.2541, allocations: 23.42 kB / 0.9879 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2541, allocations: 7.875 kB / 0.9879 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.004594/0.2587, allocations: 2.108 MB / 0.99 GB, free: 16.78 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)