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") [: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.0.1-maint.8.0.x/package.mo): time 1.381/1.381, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009568/0.0009568, allocations: 185.3 kB / 361.1 MB, free: 7.062 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.157/1.157, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007988/0.000799, allocations: 88.75 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.853e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5161, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.6654, allocations: 141.2 MB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.6657, allocations: 75.95 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01433/0.68, allocations: 5.008 MB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.68, allocations: 0 / 1.106 GB, free: 9.727 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.0004718/0.6805, allocations: 458.1 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6806, allocations: 8.031 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.6806, allocations: 20.47 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.681, allocations: 256.6 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.681, allocations: 6.656 kB / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.681, allocations: 0 / 1.107 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.26e-05/0.6811, allocations: 32.52 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.6813, allocations: 80.73 kB / 1.107 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6813, allocations: 0 / 1.107 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.6813, allocations: 5.234 kB / 1.107 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.6813, allocations: 6.438 kB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.6818, allocations: 344.3 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.682, allocations: 67.44 kB / 1.108 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.682, allocations: 38.56 kB / 1.108 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.6821, allocations: 4 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.6822, allocations: 75.95 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6822, allocations: 0.5312 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002615/0.6825, allocations: 106.1 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6825, allocations: 78.7 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.6827, allocations: 237.9 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6828, allocations: 25.7 kB / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.6828, allocations: 96.03 kB / 1.108 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.6829, allocations: 20.31 kB / 1.108 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.6829, allocations: 0.6562 kB / 1.108 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.683, allocations: 339.5 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.683, allocations: 20 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.6831, allocations: 69.91 kB / 1.109 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.6832, allocations: 27.98 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6832, allocations: 0 / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001729/0.6834, allocations: 113.4 kB / 1.109 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.6834, allocations: 6.812 kB / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6834, allocations: 0 / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6834, allocations: 0 / 1.109 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.6835, allocations: 15.98 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6835, allocations: 10.27 kB / 1.109 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.6836, allocations: 11.84 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.6836, allocations: 10.16 kB / 1.109 GB, free: 6.984 MB / 0.7136 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 7.68e-05/0.6837, allocations: 111 kB / 1.109 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.6837, allocations: 15.92 kB / 1.109 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.6839, allocations: 120.3 kB / 1.109 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6839, allocations: 4 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.684, allocations: 4 kB / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.684, allocations: 0 / 1.109 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.6841, allocations: 206.1 kB / 1.109 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6841, allocations: 0 / 1.109 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.947e-05/0.6842, allocations: 7.938 kB / 1.109 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6842, allocations: 0 / 1.109 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6842, allocations: 7.984 kB / 1.109 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6842, allocations: 3.906 kB / 1.109 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6842, allocations: 0 / 1.109 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000182/0.6844, allocations: 142.7 kB / 1.11 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.6845, allocations: 100.9 kB / 1.11 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.6845, allocations: 3.906 kB / 1.11 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.6846, allocations: 4 kB / 1.11 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.6846, allocations: 7.984 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.6846, allocations: 0 / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001582/0.6848, allocations: 196.2 kB / 1.11 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002459/0.6851, allocations: 35.94 kB / 1.11 GB, free: 5.953 MB / 0.7136 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.0005991/0.6857, allocations: 333.2 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.6858, allocations: 67.98 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.6858, allocations: 0 / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.6859, allocations: 43.92 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.6862, allocations: 23.98 kB / 1.11 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.6866, allocations: 235.1 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.6869, allocations: 0.7508 MB / 1.111 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6869, allocations: 0 / 1.111 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.004771/0.6917, allocations: 2.162 MB / 1.113 GB, free: 2.496 MB / 0.7136 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)