Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator") translateModel(Annex60.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.3106/0.3106, allocations: 54.39 MB / 61.68 MB, free: 11.19 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001128/0.001128, allocations: 190.7 kB / 75.37 MB, free: 1.473 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.463/1.463, allocations: 194.2 MB / 283.2 MB, free: 3.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001826/0.001826, allocations: 118.3 kB / 341.3 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.405e-06, allocations: 0 / 404.9 MB, free: 27.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 57.65 MB / 462.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4476, allocations: 85.55 MB / 0.5353 GB, free: 11.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4479, allocations: 78.17 kB / 0.5354 GB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003995/0.4519, allocations: 1.102 MB / 0.5364 GB, free: 10.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.4519, allocations: 0 / 0.5364 GB, free: 10.51 MB / 378.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.0003644/0.4523, allocations: 398.3 kB / 0.5368 GB, free: 10.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4524, allocations: 11.97 kB / 0.5368 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.4524, allocations: 7.906 kB / 0.5368 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.4526, allocations: 182.4 kB / 0.537 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4526, allocations: 7.906 kB / 0.537 GB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.4527, allocations: 4 kB / 0.537 GB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.83e-05/0.4527, allocations: 22.75 kB / 0.5371 GB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.4528, allocations: 57.98 kB / 0.5371 GB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.4529, allocations: 0 / 0.5371 GB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4529, allocations: 4.75 kB / 0.5371 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.4529, allocations: 0 / 0.5371 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.4532, allocations: 255.3 kB / 0.5374 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.4533, allocations: 49.5 kB / 0.5374 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.4534, allocations: 31.52 kB / 0.5374 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.4534, allocations: 3.984 kB / 0.5374 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.822e-05/0.4535, allocations: 104 kB / 0.5375 GB, free: 9.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4535, allocations: 0 / 0.5375 GB, free: 9.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002178/0.4537, allocations: 91.41 kB / 0.5376 GB, free: 9.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.4538, allocations: 110.8 kB / 0.5377 GB, free: 9.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.4539, allocations: 107.8 kB / 0.5378 GB, free: 8.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.4539, allocations: 29.69 kB / 0.5379 GB, free: 8.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.454, allocations: 84.14 kB / 0.5379 GB, free: 8.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.454, allocations: 11.56 kB / 0.538 GB, free: 8.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.454, allocations: 4 kB / 0.538 GB, free: 8.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4541, allocations: 318.3 kB / 0.5383 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-05/0.4542, allocations: 18.31 kB / 0.5383 GB, free: 8.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.4542, allocations: 26.67 kB / 0.5383 GB, free: 8.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.4543, allocations: 37.95 kB / 0.5383 GB, free: 8.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4543, allocations: 0 / 0.5383 GB, free: 8.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001576/0.4545, allocations: 92.34 kB / 0.5384 GB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.4545, allocations: 4 kB / 0.5384 GB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4545, allocations: 5.781 kB / 0.5384 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.4545, allocations: 4 kB / 0.5384 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.698e-05/0.4545, allocations: 0 / 0.5384 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.4546, allocations: 0 / 0.5384 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.4546, allocations: 6.422 kB / 0.5384 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4546, allocations: 4 kB / 0.5385 GB, free: 8.352 MB / 378.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.0001046/0.4547, allocations: 150.1 kB / 0.5386 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.4548, allocations: 7.906 kB / 0.5386 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.4548, allocations: 8.359 kB / 0.5386 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.4548, allocations: 4 kB / 0.5386 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4548, allocations: 0 / 0.5386 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4548, allocations: 3.938 kB / 0.5386 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.4549, allocations: 155 kB / 0.5388 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4549, allocations: 0 / 0.5388 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.455, allocations: 0 / 0.5388 GB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.455, allocations: 4 kB / 0.5388 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.455, allocations: 128 / 0.5388 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.455, allocations: 4 kB / 0.5388 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.455, allocations: 4 kB / 0.5388 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001638/0.4552, allocations: 123.3 kB / 0.5389 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.4552, allocations: 89 kB / 0.539 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4552, allocations: 3.312 kB / 0.539 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.4553, allocations: 12.03 kB / 0.539 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.4553, allocations: 0 / 0.539 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4554, allocations: 7.984 kB / 0.539 GB, free: 7.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.82e-05/0.4554, allocations: 86.78 kB / 0.5391 GB, free: 7.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.4556, allocations: 28 kB / 0.5391 GB, free: 7.621 MB / 378.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.0002101/0.4558, allocations: 124.3 kB / 0.5392 GB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.456, allocations: 118.1 kB / 0.5393 GB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.456, allocations: 4 kB / 0.5393 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.4561, allocations: 71.62 kB / 0.5394 GB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.4562, allocations: 8.906 kB / 0.5394 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.4565, allocations: 117.8 kB / 0.5395 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.4568, allocations: 0.7046 MB / 0.5402 GB, free: 6.453 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4568, allocations: 0 / 0.5402 GB, free: 6.453 MB / 378.7 MB Notification: Performance of Templates: time 0.003446/0.4603, allocations: 0.9187 MB / 0.5411 GB, free: 5.547 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)