Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2607/0.2607, allocations: 54.4 MB / 61.68 MB, free: 1.832 MB / 50.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001017/0.001017, allocations: 186.8 kB / 75.38 MB, free: 10.61 MB / 66.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.371/1.371, allocations: 194.2 MB / 283.2 MB, free: 9.363 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00173/0.00173, allocations: 115.7 kB / 341.3 MB, free: 2.234 MB / 258.8 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.642e-06, allocations: 0 / 404.9 MB, free: 2.496 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 57.64 MB / 462.6 MB, free: 8.77 MB / 386.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.4399, allocations: 85.43 MB / 0.5352 GB, free: 14.26 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4402, allocations: 71.95 kB / 0.5352 GB, free: 14.19 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.005954/0.4462, allocations: 1.95 MB / 0.5371 GB, free: 12.29 MB / 386.8 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4463, allocations: 0 / 0.5371 GB, free: 12.29 MB / 386.8 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.0003573/0.4466, allocations: 381.7 kB / 0.5375 GB, free: 11.87 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4467, allocations: 16.72 kB / 0.5375 GB, free: 11.86 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.4467, allocations: 4.844 kB / 0.5375 GB, free: 11.85 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.4469, allocations: 187.8 kB / 0.5377 GB, free: 11.63 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4469, allocations: 0 / 0.5377 GB, free: 11.63 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.447, allocations: 8.859 kB / 0.5377 GB, free: 11.62 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.696e-05/0.447, allocations: 21.31 kB / 0.5377 GB, free: 11.6 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.681e-05/0.4471, allocations: 67.95 kB / 0.5378 GB, free: 11.53 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.4471, allocations: 0 / 0.5378 GB, free: 11.53 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4472, allocations: 0 / 0.5378 GB, free: 11.53 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.4472, allocations: 4 kB / 0.5378 GB, free: 11.53 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.4475, allocations: 255 kB / 0.538 GB, free: 11.24 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.4476, allocations: 54.56 kB / 0.5381 GB, free: 11.18 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.4476, allocations: 32.64 kB / 0.5381 GB, free: 11.15 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.4476, allocations: 0 / 0.5381 GB, free: 11.15 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.391e-05/0.4477, allocations: 81.08 kB / 0.5382 GB, free: 11.06 MB / 386.8 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.4478, allocations: 3.109 kB / 0.5382 GB, free: 11.06 MB / 386.8 MB Notification: Performance of matching and sorting (n=6): time 0.0002262/0.448, allocations: 93.58 kB / 0.5383 GB, free: 10.96 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.448, allocations: 51.41 kB / 0.5383 GB, free: 10.9 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.4481, allocations: 116.7 kB / 0.5385 GB, free: 10.78 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.4481, allocations: 29.7 kB / 0.5385 GB, free: 10.74 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.4481, allocations: 88.05 kB / 0.5386 GB, free: 10.65 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.4482, allocations: 15.83 kB / 0.5386 GB, free: 10.64 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.4482, allocations: 0 / 0.5386 GB, free: 10.64 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4482, allocations: 315.9 kB / 0.5389 GB, free: 10.32 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.4483, allocations: 35.77 kB / 0.5389 GB, free: 10.29 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.4483, allocations: 23.98 kB / 0.5389 GB, free: 10.27 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.4484, allocations: 33.8 kB / 0.539 GB, free: 10.23 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4484, allocations: 0 / 0.539 GB, free: 10.23 MB / 386.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001458/0.4486, allocations: 105.6 kB / 0.5391 GB, free: 10.12 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.4486, allocations: 4 kB / 0.5391 GB, free: 10.12 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4486, allocations: 0 / 0.5391 GB, free: 10.12 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4486, allocations: 4 kB / 0.5391 GB, free: 10.12 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.425e-05/0.4486, allocations: 0.8125 kB / 0.5391 GB, free: 10.12 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4487, allocations: 5.094 kB / 0.5391 GB, free: 10.11 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.4487, allocations: 3.938 kB / 0.5391 GB, free: 10.11 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4487, allocations: 5.875 kB / 0.5391 GB, free: 10.11 MB / 386.8 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 5.454e-05/0.4488, allocations: 107.7 kB / 0.5392 GB, free: 9.996 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.4488, allocations: 7.906 kB / 0.5392 GB, free: 9.988 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.4488, allocations: 9.609 kB / 0.5392 GB, free: 9.98 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4488, allocations: 4 kB / 0.5392 GB, free: 9.977 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4489, allocations: 3.75 kB / 0.5392 GB, free: 9.977 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4489, allocations: 2 kB / 0.5392 GB, free: 9.977 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.425e-05/0.449, allocations: 154.8 kB / 0.5394 GB, free: 9.789 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.449, allocations: 4.844 kB / 0.5394 GB, free: 9.785 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.449, allocations: 3.938 kB / 0.5394 GB, free: 9.781 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.449, allocations: 0 / 0.5394 GB, free: 9.781 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.449, allocations: 4.641 kB / 0.5394 GB, free: 9.777 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.449, allocations: 0.6562 kB / 0.5394 GB, free: 9.777 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.449, allocations: 0 / 0.5394 GB, free: 9.777 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001332/0.4492, allocations: 118.6 kB / 0.5395 GB, free: 9.645 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.4492, allocations: 84.95 kB / 0.5396 GB, free: 9.543 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.4492, allocations: 17.3 kB / 0.5396 GB, free: 9.527 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.4493, allocations: 1.344 kB / 0.5396 GB, free: 9.527 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.4493, allocations: 4 kB / 0.5396 GB, free: 9.523 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.4493, allocations: 9.891 kB / 0.5396 GB, free: 9.516 MB / 386.8 MB Notification: Performance of sort global known variables: time 3.41e-05/0.4494, allocations: 99.89 kB / 0.5397 GB, free: 9.418 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0002095/0.4496, allocations: 24 kB / 0.5397 GB, free: 9.395 MB / 386.8 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.0001868/0.4498, allocations: 121.5 kB / 0.5399 GB, free: 9.27 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.45, allocations: 86.86 kB / 0.5399 GB, free: 9.18 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.45, allocations: 3.938 kB / 0.5399 GB, free: 9.176 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.45, allocations: 34.12 kB / 0.54 GB, free: 9.145 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.4501, allocations: 4.781 kB / 0.54 GB, free: 9.141 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.4504, allocations: 118.1 kB / 0.5401 GB, free: 9.008 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.4505, allocations: 0.7042 MB / 0.5408 GB, free: 8.277 MB / 386.8 MB Notification: Performance of SimCode: time 2.3e-07/0.4506, allocations: 0.5 kB / 0.5408 GB, free: 8.277 MB / 386.8 MB Notification: Performance of Templates: time 0.002869/0.4534, allocations: 0.9196 MB / 0.5417 GB, free: 7.398 MB / 386.8 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)