Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5463/0.5463, allocations: 94.73 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001175/0.001175, allocations: 171.3 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.089/1.089, allocations: 170.5 MB / 319 MB, free: 9.398 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001596/0.001597, allocations: 113.5 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.147e-06, allocations: 4 kB / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 61.52 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.4301, allocations: 93.85 MB / 0.5898 GB, free: 8.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4304, allocations: 73.84 kB / 0.5898 GB, free: 8.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004126/0.4345, allocations: 1.107 MB / 0.5909 GB, free: 7.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.4345, allocations: 0 / 0.5909 GB, free: 7.355 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002972/0.4348, allocations: 396.4 kB / 0.5913 GB, free: 6.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4349, allocations: 8.781 kB / 0.5913 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.4349, allocations: 6.656 kB / 0.5913 GB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.4351, allocations: 189.9 kB / 0.5915 GB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.4351, allocations: 2.953 kB / 0.5915 GB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4351, allocations: 4 kB / 0.5915 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.459e-05/0.4352, allocations: 19.98 kB / 0.5915 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.4353, allocations: 57.69 kB / 0.5916 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4353, allocations: 0 / 0.5916 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4354, allocations: 0 / 0.5916 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.4354, allocations: 4 kB / 0.5916 GB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.4357, allocations: 251.5 kB / 0.5918 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.4358, allocations: 50.5 kB / 0.5919 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.4359, allocations: 29.73 kB / 0.5919 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.4359, allocations: 0.5938 kB / 0.5919 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.436, allocations: 102.5 kB / 0.592 GB, free: 6.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.436, allocations: 0 / 0.592 GB, free: 6.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002461/0.4363, allocations: 89.58 kB / 0.5921 GB, free: 6.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.4363, allocations: 109 kB / 0.5922 GB, free: 5.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.4364, allocations: 108.9 kB / 0.5923 GB, free: 5.766 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.4365, allocations: 33.64 kB / 0.5923 GB, free: 5.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.4365, allocations: 80.14 kB / 0.5924 GB, free: 5.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4366, allocations: 20.61 kB / 0.5924 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.4366, allocations: 0 / 0.5924 GB, free: 5.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4367, allocations: 323.4 kB / 0.5927 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.4367, allocations: 20.05 kB / 0.5927 GB, free: 5.285 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.4368, allocations: 27.11 kB / 0.5928 GB, free: 5.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.4369, allocations: 27.98 kB / 0.5928 GB, free: 5.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4369, allocations: 1.156 kB / 0.5928 GB, free: 5.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001736/0.4371, allocations: 101.4 kB / 0.5929 GB, free: 5.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4371, allocations: 4 kB / 0.5929 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4371, allocations: 1.625 kB / 0.5929 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4371, allocations: 0 / 0.5929 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.4371, allocations: 5.016 kB / 0.5929 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.4372, allocations: 0.625 kB / 0.5929 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.4372, allocations: 4.75 kB / 0.5929 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4372, allocations: 0.75 kB / 0.5929 GB, free: 5.121 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * 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.0001444/0.4374, allocations: 148.2 kB / 0.5931 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.4374, allocations: 15.92 kB / 0.5931 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.4374, allocations: 8.375 kB / 0.5931 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.4374, allocations: 0 / 0.5931 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4375, allocations: 0 / 0.5931 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4375, allocations: 0 / 0.5931 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4376, allocations: 154.2 kB / 0.5932 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4376, allocations: 3.375 kB / 0.5932 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.4376, allocations: 0 / 0.5932 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4376, allocations: 0 / 0.5932 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4376, allocations: 4 kB / 0.5932 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4376, allocations: 3.906 kB / 0.5932 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4376, allocations: 6.344 kB / 0.5932 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001872/0.4378, allocations: 130.6 kB / 0.5934 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.4379, allocations: 77.11 kB / 0.5934 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4379, allocations: 4 kB / 0.5934 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.438, allocations: 7.906 kB / 0.5934 GB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.438, allocations: 3.984 kB / 0.5935 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.438, allocations: 4 kB / 0.5935 GB, free: 4.488 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.534e-05/0.4381, allocations: 99.19 kB / 0.5936 GB, free: 4.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000209/0.4383, allocations: 24 kB / 0.5936 GB, free: 4.367 MB / 410.7 MB 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.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001822/0.4385, allocations: 127.2 kB / 0.5937 GB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4387, allocations: 107.4 kB / 0.5938 GB, free: 4.117 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.4387, allocations: 0 / 0.5938 GB, free: 4.117 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.4388, allocations: 77.69 kB / 0.5939 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.4389, allocations: 12 kB / 0.5939 GB, free: 4.027 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.4392, allocations: 113.3 kB / 0.594 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.4395, allocations: 0.6997 MB / 0.5947 GB, free: 3.164 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4395, allocations: 0 / 0.5947 GB, free: 3.164 MB / 410.7 MB Notification: Performance of Templates: time 0.002948/0.4425, allocations: 0.9247 MB / 0.5956 GB, free: 2.285 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)