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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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") [: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 8.1.4-maint.8.1.x/package.mo): time 1.481/1.481, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.001122/0.001122, allocations: 181.3 kB / 366.3 MB, free: 1.961 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.366/1.366, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008704, allocations: 82.52 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.857e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6896, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.8769, allocations: 142.2 MB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.8773, allocations: 83.88 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01559/0.8929, allocations: 5.003 MB / 1.116 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.8929, allocations: 0 / 1.116 GB, free: 1.297 MB / 0.7136 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.000546/0.8935, allocations: 460 kB / 1.117 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.8935, allocations: 8.031 kB / 1.117 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.8936, allocations: 20.28 kB / 1.117 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.894, allocations: 255.7 kB / 1.117 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.894, allocations: 4 kB / 1.117 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.894, allocations: 0 / 1.117 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001055/0.8942, allocations: 35.98 kB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.8943, allocations: 83.98 kB / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8943, allocations: 0 / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8944, allocations: 3.938 kB / 1.117 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.8944, allocations: 7.984 kB / 1.117 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.895, allocations: 337.3 kB / 1.118 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.8952, allocations: 66.62 kB / 1.118 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.8952, allocations: 37.39 kB / 1.118 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.8953, allocations: 0 / 1.118 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.8954, allocations: 79.39 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.8954, allocations: 0.9375 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0003099/0.8957, allocations: 105.5 kB / 1.118 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.8958, allocations: 77.11 kB / 1.118 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.896, allocations: 229.9 kB / 1.118 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.896, allocations: 29.7 kB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.8961, allocations: 100.9 kB / 1.118 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.8962, allocations: 31.69 kB / 1.118 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.8962, allocations: 0 / 1.118 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8963, allocations: 334.8 kB / 1.119 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.8964, allocations: 23.98 kB / 1.119 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.8964, allocations: 55.42 kB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.8965, allocations: 36.58 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8965, allocations: 4.031 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001872/0.8967, allocations: 114.8 kB / 1.119 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8968, allocations: 4 kB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8968, allocations: 0 / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8968, allocations: 0 / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.8969, allocations: 12 kB / 1.119 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.8969, allocations: 0 / 1.119 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.897, allocations: 15.83 kB / 1.119 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.897, allocations: 4 kB / 1.119 GB, free: 14.54 MB / 0.7292 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.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (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 8.734e-05/0.8971, allocations: 114.4 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.8971, allocations: 15.92 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.8974, allocations: 124.6 kB / 1.119 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8974, allocations: 1.031 kB / 1.119 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8974, allocations: 7.984 kB / 1.119 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8974, allocations: 0 / 1.119 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.8976, allocations: 202.1 kB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8976, allocations: 4 kB / 1.119 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.8977, allocations: 8 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8977, allocations: 0 / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.8977, allocations: 4 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.8977, allocations: 3.906 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.8977, allocations: 0 / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001976/0.8979, allocations: 143.1 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.898, allocations: 98.61 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.898, allocations: 11.89 kB / 1.12 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.8981, allocations: 8 kB / 1.12 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.8982, allocations: 7.984 kB / 1.12 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.8982, allocations: 0 / 1.12 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001729/0.8983, allocations: 187 kB / 1.12 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002582/0.8986, allocations: 39.94 kB / 1.12 GB, free: 13.5 MB / 0.7292 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0008215/0.8994, allocations: 319.2 kB / 1.12 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.8996, allocations: 79.91 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8997, allocations: 0 / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.994e-05/0.8997, allocations: 36 kB / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.9, allocations: 30.33 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.9005, allocations: 231.7 kB / 1.12 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.9009, allocations: 0.747 MB / 1.121 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.901, allocations: 4 kB / 1.121 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.005857/0.9068, allocations: 2.161 MB / 1.123 GB, free: 9.973 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (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)