Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.0005418, allocations: 16.56 kB / 0.6735 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2714, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002164/0.2736, allocations: 1.455 MB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2749, allocations: 0.8522 MB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.275, allocations: 11.88 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.2755, allocations: 143.7 kB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.2758, allocations: 95.73 kB / 0.7896 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.2761, allocations: 126.8 kB / 0.7897 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.2763, allocations: 99.8 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.2764, allocations: 17.11 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.2765, allocations: 55.77 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.2766, allocations: 59.75 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2766, allocations: 4 kB / 0.7899 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2768, allocations: 43.91 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.2768, allocations: 35.89 kB / 0.79 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.2769, allocations: 53.58 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.2771, allocations: 148 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.2771, allocations: 0 / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2771, allocations: 0 / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2771, allocations: 0 / 0.7902 GB, free: 8.773 MB / 0.6075 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.0006808/0.2778, allocations: 468.3 kB / 0.7907 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2779, allocations: 12.03 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.2779, allocations: 19.67 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.2782, allocations: 239.7 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.2782, allocations: 8 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.2783, allocations: 4 kB / 0.7909 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.2785, allocations: 87.38 kB / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2785, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2785, allocations: 0 / 0.791 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.2785, allocations: 7.984 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.2786, allocations: 35.92 kB / 0.7911 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.2791, allocations: 352.7 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.2793, allocations: 74.67 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.2794, allocations: 8.016 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.2795, allocations: 91.44 kB / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.2795, allocations: 0 / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003669/0.2799, allocations: 230.5 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.28, allocations: 81.05 kB / 0.7919 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2802, allocations: 263.5 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2803, allocations: 25.7 kB / 0.7921 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.2803, allocations: 120 kB / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.2804, allocations: 27.64 kB / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2804, allocations: 4 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2805, allocations: 330.8 kB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.137e-05/0.2806, allocations: 27.98 kB / 0.7926 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.2807, allocations: 55.42 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.49e-05/0.2807, allocations: 31.92 kB / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2807, allocations: 0 / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001859/0.2809, allocations: 125.4 kB / 0.7928 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.281, allocations: 4 kB / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.281, allocations: 0 / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.281, allocations: 0 / 0.7928 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.2811, allocations: 19.94 kB / 0.7928 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2811, allocations: 0 / 0.7928 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.2811, allocations: 8 kB / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.2812, allocations: 4 kB / 0.7929 GB, free: 5.793 MB / 0.6075 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.0001433/0.2813, allocations: 141.9 kB / 0.793 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2813, allocations: 15.81 kB / 0.793 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.2814, allocations: 17.39 kB / 0.793 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.2814, allocations: 7.938 kB / 0.793 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2814, allocations: 4.328 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2814, allocations: 0 / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.2817, allocations: 225.4 kB / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2817, allocations: 0 / 0.7933 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.2817, allocations: 7.938 kB / 0.7933 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2817, allocations: 0 / 0.7933 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.2818, allocations: 11.98 kB / 0.7933 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2818, allocations: 3.938 kB / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2818, allocations: 0 / 0.7933 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.282, allocations: 144.8 kB / 0.7934 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.2821, allocations: 96.91 kB / 0.7935 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.2822, allocations: 3.984 kB / 0.7935 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.2822, allocations: 4 kB / 0.7935 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.2823, allocations: 11.98 kB / 0.7935 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2823, allocations: 4 kB / 0.7935 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001989/0.2825, allocations: 196.6 kB / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2825, allocations: 0 / 0.7937 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002313/0.2827, allocations: 31.95 kB / 0.7937 GB, free: 4.785 MB / 0.6075 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.0009785/0.2837, allocations: 424.3 kB / 0.7941 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.2839, allocations: 83.89 kB / 0.7942 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.284, allocations: 0 / 0.7942 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.284, allocations: 31.98 kB / 0.7943 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.2843, allocations: 28.64 kB / 0.7943 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.2849, allocations: 326.1 kB / 0.7946 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2853, allocations: 0.7321 MB / 0.7953 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.427e-05/0.2853, allocations: 29.72 kB / 0.7953 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2854, allocations: 15.44 kB / 0.7954 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2854, allocations: 0 / 0.7954 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.005437/0.2908, allocations: 2.128 MB / 0.7974 GB, free: 1.137 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) Environment - environmentSimulation: