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.697/1.697, allocations: 288.3 MB / 303.2 MB, free: 8.098 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.001104/0.001104, allocations: 177 kB / 371.8 MB, free: 10.3 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.885/1.885, allocations: 205.4 MB / 0.6306 GB, free: 9.934 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.001118/0.001118, allocations: 93.52 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004759, allocations: 15.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2589, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001941/0.2609, allocations: 1.451 MB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.262, allocations: 0.8714 MB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.2621, allocations: 0 / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.2627, allocations: 139.7 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.2629, allocations: 99.73 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.2632, allocations: 121.3 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.2634, allocations: 99.73 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2635, allocations: 21.11 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.2636, allocations: 55.77 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.2637, allocations: 55.83 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.2637, allocations: 4 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2638, allocations: 47.83 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.2639, allocations: 35.91 kB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.2639, allocations: 45.64 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2641, allocations: 144 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2641, allocations: 0 / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2641, allocations: 0 / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2641, allocations: 0 / 0.9825 GB, free: 24.51 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.0006386/0.2648, allocations: 484.2 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2648, allocations: 16.02 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.2649, allocations: 19.67 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.2651, allocations: 231.8 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2651, allocations: 4 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2652, allocations: 7.984 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2653, allocations: 91.31 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2654, allocations: 4 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2654, allocations: 3.984 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.2654, allocations: 4 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.2655, allocations: 35.91 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.266, allocations: 352.6 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.2662, allocations: 78.67 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.2662, allocations: 4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.2663, allocations: 75.64 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2663, allocations: 7.875 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003041/0.2667, allocations: 226.5 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2667, allocations: 77.11 kB / 0.9842 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2669, allocations: 263.7 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2669, allocations: 33.62 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/0.267, allocations: 120 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.267, allocations: 27.64 kB / 0.9846 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.2671, allocations: 4 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.2671, allocations: 326.8 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.2672, allocations: 27.98 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.2673, allocations: 59.42 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.2673, allocations: 27.98 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2674, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001576/0.2675, allocations: 117.8 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2675, allocations: 6.031 kB / 0.9851 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2676, allocations: 3.938 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2676, allocations: 0 / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.2677, allocations: 19.89 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2677, allocations: 8.203 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.2677, allocations: 4 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2678, allocations: 8 kB / 0.9852 GB, free: 21.52 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.0001134/0.2679, allocations: 134.5 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.2679, allocations: 15.81 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.268, allocations: 29.38 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.268, allocations: 0 / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.268, allocations: 7.953 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.268, allocations: 4 kB / 0.9853 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2682, allocations: 229.4 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2682, allocations: 0 / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.2682, allocations: 4 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2682, allocations: 3.938 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2682, allocations: 3.984 kB / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2682, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2682, allocations: 0 / 0.9856 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2684, allocations: 152.8 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.2685, allocations: 92.91 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.2685, allocations: 4 kB / 0.9858 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.2686, allocations: 4 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.2686, allocations: 7.984 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.2686, allocations: 4 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001728/0.2688, allocations: 200.4 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2688, allocations: 0 / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002336/0.269, allocations: 31.95 kB / 0.9861 GB, free: 20.52 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.0009168/0.27, allocations: 443.7 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2702, allocations: 71.97 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2702, allocations: 0 / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.2703, allocations: 39.86 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2705, allocations: 29.3 kB / 0.9866 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.2711, allocations: 322.5 kB / 0.9869 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2713, allocations: 0.7321 MB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.2713, allocations: 25.72 kB / 0.9877 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.2714, allocations: 15.44 kB / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of SimCode: time 4.5e-07/0.2714, allocations: 0 / 0.9877 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.004955/0.2764, allocations: 2.115 MB / 0.9897 GB, free: 16.86 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)