Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) 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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.4 MB / 139.7 MB, free: 15.51 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001396/0.001396, allocations: 173.5 kB / 171.6 MB, free: 2.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.322/1.322, allocations: 170.5 MB / 373.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001756/0.001756, allocations: 112.1 kB / 444.4 MB, free: 9.348 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5688/0.5688, allocations: 73.4 MB / 0.666 GB, free: 62.24 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.7225, allocations: 101.7 MB / 0.7653 GB, free: 2.543 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.7228, allocations: 77.17 kB / 0.7654 GB, free: 2.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.004723/0.7276, allocations: 1.098 MB / 0.7664 GB, free: 1.406 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.7276, allocations: 0.5625 kB / 0.7665 GB, free: 1.406 MB / 474.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.0004964/0.7281, allocations: 399.5 kB / 0.7668 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.7282, allocations: 8.656 kB / 0.7668 GB, free: 0.957 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.7283, allocations: 7.906 kB / 0.7668 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.7285, allocations: 183 kB / 0.767 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7285, allocations: 0 / 0.767 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.7286, allocations: 4.844 kB / 0.767 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/0.7287, allocations: 23.98 kB / 0.767 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.7288, allocations: 56.22 kB / 0.7671 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.7288, allocations: 0 / 0.7671 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.7289, allocations: 5.688 kB / 0.7671 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.7289, allocations: 8 kB / 0.7671 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.7294, allocations: 261.3 kB / 0.7674 GB, free: 348 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/0.7295, allocations: 45.5 kB / 0.7674 GB, free: 296 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.7295, allocations: 28.89 kB / 0.7674 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.7295, allocations: 0.9375 kB / 0.7674 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.7297, allocations: 101.1 kB / 0.7675 GB, free: 144 kB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.7297, allocations: 0 / 0.7675 GB, free: 144 kB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003085/0.73, allocations: 95.31 kB / 0.7676 GB, free: 44 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.7301, allocations: 114.8 kB / 0.7677 GB, free: 15.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7302, allocations: 101 kB / 0.7678 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.7302, allocations: 29.7 kB / 0.7679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.7303, allocations: 84.05 kB / 0.7679 GB, free: 15.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.7303, allocations: 11.91 kB / 0.7679 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.7303, allocations: 0 / 0.7679 GB, free: 15.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7305, allocations: 329.5 kB / 0.7683 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.7306, allocations: 16 kB / 0.7683 GB, free: 15.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.7306, allocations: 27.98 kB / 0.7683 GB, free: 15.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.7307, allocations: 27.98 kB / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7308, allocations: 0 / 0.7683 GB, free: 15.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002026/0.731, allocations: 105.5 kB / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.731, allocations: 4 kB / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.731, allocations: 0 / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.731, allocations: 0 / 0.7684 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.7311, allocations: 3.984 kB / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7311, allocations: 0 / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.7312, allocations: 4 kB / 0.7684 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.7312, allocations: 8 kB / 0.7685 GB, free: 15.14 MB / 490.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.000123/0.7313, allocations: 134.6 kB / 0.7686 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.7314, allocations: 7.984 kB / 0.7686 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.7314, allocations: 12.38 kB / 0.7686 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.7314, allocations: 1.828 kB / 0.7686 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7314, allocations: 5.156 kB / 0.7686 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7314, allocations: 0 / 0.7686 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.7316, allocations: 154.3 kB / 0.7688 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7316, allocations: 4 kB / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-06/0.7316, allocations: 0 / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7316, allocations: 0 / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.7316, allocations: 4 kB / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7317, allocations: 0 / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7317, allocations: 2.375 kB / 0.7688 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002485/0.7319, allocations: 136.7 kB / 0.7689 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.732, allocations: 84.95 kB / 0.769 GB, free: 14.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.732, allocations: 8.031 kB / 0.769 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.018e-05/0.7321, allocations: 4 kB / 0.769 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.7321, allocations: 6.141 kB / 0.769 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.7321, allocations: 7.906 kB / 0.769 GB, free: 14.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.293e-05/0.7322, allocations: 87.28 kB / 0.7691 GB, free: 14.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.7325, allocations: 24 kB / 0.7691 GB, free: 14.39 MB / 490.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.0002338/0.7327, allocations: 131.2 kB / 0.7692 GB, free: 14.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.7329, allocations: 115.4 kB / 0.7693 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7329, allocations: 0 / 0.7693 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.733, allocations: 77.62 kB / 0.7694 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.7332, allocations: 8 kB / 0.7694 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.7335, allocations: 107.8 kB / 0.7695 GB, free: 13.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.7338, allocations: 0.6997 MB / 0.7702 GB, free: 13.18 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7338, allocations: 0 / 0.7702 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Templates: time 0.003868/0.7377, allocations: 0.9221 MB / 0.7711 GB, free: 12.3 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)