Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.764/2.764, allocations: 287.3 MB / 302.3 MB, free: 8.379 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.001529/0.001529, allocations: 169.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001166/0.001166, allocations: 104.3 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006635/0.0006637, allocations: 12.45 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.241, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003387/0.2444, allocations: 1.459 MB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2473, allocations: 0.8599 MB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2475, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009226/0.2484, allocations: 139.7 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.2489, allocations: 99.67 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.2498, allocations: 122.6 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.2501, allocations: 99.8 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2503, allocations: 17.12 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2505, allocations: 59.75 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2506, allocations: 63.81 kB / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.2507, allocations: 0 / 0.981 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.251, allocations: 39.86 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.2511, allocations: 39.89 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.2512, allocations: 45.64 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.2515, allocations: 140 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2516, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2516, allocations: 0 / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2516, allocations: 0 / 0.9813 GB, free: 25.2 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.000961/0.2526, allocations: 484.2 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.2526, allocations: 12.02 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.2527, allocations: 27.67 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.2532, allocations: 239.7 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.2533, allocations: 4 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.2533, allocations: 4 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2537, allocations: 87.31 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2537, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.2538, allocations: 8 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.2538, allocations: 4 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.254, allocations: 35.94 kB / 0.9821 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.2549, allocations: 352.6 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.2553, allocations: 74.67 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2553, allocations: 4 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.2556, allocations: 79.48 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.747e-06/0.2556, allocations: 0 / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006952/0.2564, allocations: 226.5 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2564, allocations: 81.05 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.2569, allocations: 255.7 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.257, allocations: 41.69 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2571, allocations: 120.1 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.2572, allocations: 23.59 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.2572, allocations: 7.984 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.2573, allocations: 322.8 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2575, allocations: 27.98 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.2577, allocations: 63.41 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.2579, allocations: 32.31 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2579, allocations: 4 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004272/0.2584, allocations: 117.4 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2584, allocations: 4 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2584, allocations: 0 / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.2585, allocations: 7.953 kB / 0.9839 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.2586, allocations: 15.92 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2587, allocations: 64 / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.2589, allocations: 12 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2589, allocations: 4 kB / 0.9839 GB, free: 22.21 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.0002128/0.2591, allocations: 137.8 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.2592, allocations: 19.8 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.2593, allocations: 17.41 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.2593, allocations: 3.953 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2594, allocations: 4 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2594, allocations: 7.984 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.2597, allocations: 225.4 kB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2598, allocations: 0 / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.2598, allocations: 4 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.2598, allocations: 0 / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.2599, allocations: 0 / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.2599, allocations: 7.938 kB / 0.9843 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2599, allocations: 3.953 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.2604, allocations: 144.9 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.2605, allocations: 92.92 kB / 0.9846 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.643e-05/0.2606, allocations: 7.938 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2607, allocations: 7.984 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.2608, allocations: 4 kB / 0.9846 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.2608, allocations: 11.94 kB / 0.9846 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000358/0.2612, allocations: 196.3 kB / 0.9848 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2612, allocations: 3.938 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005186/0.2618, allocations: 32 kB / 0.9848 GB, free: 21.2 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.001813/0.2636, allocations: 431.3 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004395/0.2641, allocations: 71.91 kB / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2641, allocations: 0 / 0.9853 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.2643, allocations: 35.98 kB / 0.9853 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.2649, allocations: 33.22 kB / 0.9854 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/0.2658, allocations: 322.5 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2661, allocations: 0.7282 MB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.2663, allocations: 29.7 kB / 0.9864 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.2664, allocations: 19.44 kB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.2664, allocations: 0 / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.01028/0.2767, allocations: 2.102 MB / 0.9885 GB, free: 17.56 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)