Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.8435/0.8435, allocations: 110.8 MB / 118 MB, free: 14.59 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001738/0.001738, allocations: 156 kB / 143.7 MB, free: 4.914 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.222e-06, allocations: 0 / 173.4 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05149/0.05151, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.1697, allocations: 32.97 MB / 231.6 MB, free: 4.625 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.1699, allocations: 63.31 kB / 231.6 MB, free: 4.625 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.005634/0.1755, allocations: 2.228 MB / 233.9 MB, free: 4.543 MB / 170.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1756, allocations: 0 / 233.9 MB, free: 4.543 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003788/0.1759, allocations: 368.6 kB / 234.2 MB, free: 4.18 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.176, allocations: 10.19 kB / 234.2 MB, free: 4.18 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.176, allocations: 11.72 kB / 234.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1761, allocations: 174.5 kB / 234.4 MB, free: 3.973 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.1762, allocations: 3.906 kB / 234.4 MB, free: 3.969 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1762, allocations: 3.656 kB / 234.4 MB, free: 3.969 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.1e-05/0.1763, allocations: 26.25 kB / 234.5 MB, free: 3.965 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1764, allocations: 92.34 kB / 234.5 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1764, allocations: 0 / 234.5 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1765, allocations: 0 / 234.5 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1765, allocations: 7.328 kB / 234.6 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.177, allocations: 0.6165 MB / 235.2 MB, free: 3.312 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.803e-05/0.177, allocations: 99.47 kB / 235.3 MB, free: 3.188 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.1771, allocations: 41.27 kB / 235.3 MB, free: 3.148 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1771, allocations: 0 / 235.3 MB, free: 3.148 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.1772, allocations: 46.59 kB / 235.4 MB, free: 3.102 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1772, allocations: 0 / 235.4 MB, free: 3.102 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002533/0.1774, allocations: 63.64 kB / 235.4 MB, free: 3.062 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1775, allocations: 159.7 kB / 235.6 MB, free: 2.875 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.1775, allocations: 108.4 kB / 235.7 MB, free: 2.785 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.1776, allocations: 29.7 kB / 235.7 MB, free: 2.75 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.1776, allocations: 93.61 kB / 235.8 MB, free: 2.66 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1776, allocations: 20.06 kB / 235.8 MB, free: 2.645 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.1776, allocations: 0 / 235.8 MB, free: 2.645 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.1777, allocations: 324.5 kB / 236.1 MB, free: 2.328 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.1777, allocations: 7.25 kB / 236.1 MB, free: 2.328 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.1778, allocations: 44.89 kB / 236.2 MB, free: 2.281 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.1778, allocations: 12.55 kB / 236.2 MB, free: 2.281 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1778, allocations: 0 / 236.2 MB, free: 2.281 MB / 170.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001002/0.1779, allocations: 69.11 kB / 236.3 MB, free: 2.242 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1779, allocations: 4.969 kB / 236.3 MB, free: 2.242 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1779, allocations: 9.344 kB / 236.3 MB, free: 2.238 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.178, allocations: 5.25 kB / 236.3 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1781, allocations: 14.31 kB / 236.3 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1781, allocations: 0 / 236.3 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.1782, allocations: 15.02 kB / 236.3 MB, free: 2.23 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1782, allocations: 3.938 kB / 236.3 MB, free: 2.23 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * 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 4.606e-05/0.1782, allocations: 108.8 kB / 236.4 MB, free: 2.121 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1783, allocations: 9.312 kB / 236.4 MB, free: 2.117 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.1784, allocations: 8.75 kB / 236.4 MB, free: 2.117 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1784, allocations: 3.969 kB / 236.4 MB, free: 2.117 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1784, allocations: 3.906 kB / 236.4 MB, free: 2.113 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1784, allocations: 3.875 kB / 236.5 MB, free: 2.113 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.1787, allocations: 158.4 kB / 236.6 MB, free: 1.957 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1787, allocations: 128 / 236.6 MB, free: 1.957 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.1788, allocations: 26.27 kB / 236.6 MB, free: 1.945 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1788, allocations: 3.875 kB / 236.6 MB, free: 1.945 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1788, allocations: 1.078 kB / 236.6 MB, free: 1.945 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1788, allocations: 0 / 236.6 MB, free: 1.945 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1788, allocations: 3.875 kB / 236.6 MB, free: 1.945 MB / 170.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001661/0.179, allocations: 0.5037 MB / 237.1 MB, free: 1.441 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.179, allocations: 90.22 kB / 237.2 MB, free: 1.344 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.179, allocations: 0 / 237.2 MB, free: 1.344 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.1793, allocations: 14.33 kB / 237.2 MB, free: 1.34 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1793, allocations: 16.03 kB / 237.3 MB, free: 1.336 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1793, allocations: 3.875 kB / 237.3 MB, free: 1.336 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.273e-05/0.1794, allocations: 88.55 kB / 237.4 MB, free: 1.262 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.00038/0.1798, allocations: 7.75 kB / 237.4 MB, free: 1.262 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 8.521e-05/0.1799, allocations: 102.3 kB / 237.5 MB, free: 1.168 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 9.736e-05/0.18, allocations: 35.86 kB / 237.5 MB, free: 1.16 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.18, allocations: 3.875 kB / 237.5 MB, free: 1.16 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.18, allocations: 20.67 kB / 237.5 MB, free: 1.156 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1803, allocations: 8.156 kB / 237.5 MB, free: 1.156 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.1806, allocations: 127.2 kB / 237.7 MB, free: 1.035 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.1808, allocations: 0.7103 MB / 238.4 MB, free: 336 kB / 170.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1808, allocations: 0 / 238.4 MB, free: 336 kB / 170.7 MB Notification: Performance of Templates: time 0.002043/0.1829, allocations: 0.5592 MB / 238.9 MB, free: 288 kB / 170.7 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)