Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator") [: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.5059/0.5059, allocations: 94.74 MB / 102 MB, free: 10.36 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.001178/0.001178, allocations: 176.2 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.315/1.315, allocations: 170.5 MB / 319 MB, free: 9.402 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.001617/0.001617, allocations: 105.9 kB / 381 MB, free: 18.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.035e-06, allocations: 224 / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.13, allocations: 61.52 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2798/0.4099, allocations: 93.72 MB / 0.5897 GB, free: 8.648 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4102, allocations: 67.97 kB / 0.5897 GB, free: 8.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.006749/0.4169, allocations: 1.946 MB / 0.5916 GB, free: 6.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.417, allocations: 4 kB / 0.5916 GB, free: 6.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004023/0.4174, allocations: 386.1 kB / 0.592 GB, free: 6.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4175, allocations: 8.781 kB / 0.592 GB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.4175, allocations: 11.94 kB / 0.592 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.4177, allocations: 179 kB / 0.5922 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4177, allocations: 0 / 0.5922 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.4178, allocations: 4.844 kB / 0.5922 GB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.874e-05/0.4178, allocations: 22.06 kB / 0.5922 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.675e-05/0.418, allocations: 65.08 kB / 0.5923 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.418, allocations: 0 / 0.5923 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.418, allocations: 11.83 kB / 0.5923 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.418, allocations: 4.969 kB / 0.5923 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003131/0.4183, allocations: 254.2 kB / 0.5925 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.4184, allocations: 61.16 kB / 0.5926 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.4185, allocations: 39.33 kB / 0.5926 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-06/0.4185, allocations: 0 / 0.5926 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.311e-05/0.4186, allocations: 75.17 kB / 0.5927 GB, free: 5.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4186, allocations: 0 / 0.5927 GB, free: 5.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002059/0.4188, allocations: 97.52 kB / 0.5928 GB, free: 5.344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4189, allocations: 51.41 kB / 0.5928 GB, free: 5.281 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.419, allocations: 117.9 kB / 0.5929 GB, free: 5.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.419, allocations: 27.48 kB / 0.593 GB, free: 5.125 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.419, allocations: 84.12 kB / 0.5931 GB, free: 5.039 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4191, allocations: 11.91 kB / 0.5931 GB, free: 5.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4191, allocations: 1.031 kB / 0.5931 GB, free: 5.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4192, allocations: 322.8 kB / 0.5934 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.4192, allocations: 24.64 kB / 0.5934 GB, free: 4.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.4193, allocations: 27.98 kB / 0.5934 GB, free: 4.652 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.731e-05/0.4194, allocations: 29.14 kB / 0.5935 GB, free: 4.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4194, allocations: 0 / 0.5935 GB, free: 4.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000184/0.4196, allocations: 109.2 kB / 0.5936 GB, free: 4.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.4196, allocations: 5 kB / 0.5936 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4196, allocations: 4.625 kB / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4196, allocations: 0.5625 kB / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-05/0.4196, allocations: 2 kB / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4197, allocations: 0.5312 kB / 0.5936 GB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.4197, allocations: 8.438 kB / 0.5936 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4197, allocations: 1 kB / 0.5936 GB, free: 4.5 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: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.502e-05/0.4198, allocations: 122.2 kB / 0.5937 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.4198, allocations: 11.91 kB / 0.5937 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.4198, allocations: 4.375 kB / 0.5937 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.4199, allocations: 4 kB / 0.5937 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4199, allocations: 0 / 0.5937 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4199, allocations: 0 / 0.5937 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.42, allocations: 150.2 kB / 0.5939 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.42, allocations: 3 kB / 0.5939 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-06/0.42, allocations: 3.984 kB / 0.5939 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.42, allocations: 0 / 0.5939 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.42, allocations: 3.906 kB / 0.5939 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.42, allocations: 8 kB / 0.5939 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4201, allocations: 2 kB / 0.5939 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000167/0.4202, allocations: 117 kB / 0.594 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.4203, allocations: 84.95 kB / 0.5941 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.4203, allocations: 4 kB / 0.5941 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.862e-05/0.4203, allocations: 0 / 0.5941 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4204, allocations: 11.98 kB / 0.5941 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.4204, allocations: 8 kB / 0.5941 GB, free: 3.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.866e-05/0.4205, allocations: 100.6 kB / 0.5942 GB, free: 3.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000216/0.4207, allocations: 27.94 kB / 0.5942 GB, free: 3.777 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: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001885/0.4209, allocations: 127.2 kB / 0.5943 GB, free: 3.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.4211, allocations: 81.69 kB / 0.5944 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4211, allocations: 4 kB / 0.5944 GB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.4211, allocations: 27.94 kB / 0.5944 GB, free: 3.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.688e-05/0.4212, allocations: 13 kB / 0.5945 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.4215, allocations: 109.2 kB / 0.5946 GB, free: 3.387 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.4218, allocations: 0.6997 MB / 0.5952 GB, free: 2.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4218, allocations: 2.062 kB / 0.5952 GB, free: 2.66 MB / 410.7 MB Notification: Performance of Templates: time 0.002879/0.4247, allocations: 0.9186 MB / 0.5961 GB, free: 1.781 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)