Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 180.2 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.608/0.608, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 107.1 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.012e-06/6.042e-06, allocations: 2.75 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 82.31 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.4287, allocations: 114.9 MB / 0.7455 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.4289, allocations: 75.72 kB / 0.7455 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01306/0.442, allocations: 5.152 MB / 0.7506 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.442, allocations: 2.719 kB / 0.7506 GB, free: 10.39 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004968/0.4425, allocations: 465.2 kB / 0.751 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.4426, allocations: 8 kB / 0.751 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.4426, allocations: 19.98 kB / 0.751 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.443, allocations: 253.5 kB / 0.7513 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.443, allocations: 4.703 kB / 0.7513 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.443, allocations: 2.656 kB / 0.7513 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.203e-05/0.4431, allocations: 32.89 kB / 0.7513 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4433, allocations: 86.58 kB / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.4433, allocations: 0 / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4433, allocations: 3.906 kB / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4433, allocations: 6.797 kB / 0.7514 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4438, allocations: 338.6 kB / 0.7517 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.4439, allocations: 68.22 kB / 0.7518 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.4439, allocations: 33.33 kB / 0.7518 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.444, allocations: 1.281 kB / 0.7518 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.592e-05/0.4441, allocations: 84.89 kB / 0.7519 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.4441, allocations: 1.219 kB / 0.7519 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002408/0.4443, allocations: 102.4 kB / 0.752 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4444, allocations: 84.83 kB / 0.7521 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.4446, allocations: 230.8 kB / 0.7523 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4446, allocations: 27.05 kB / 0.7523 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.4447, allocations: 97.89 kB / 0.7524 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.4447, allocations: 26.64 kB / 0.7525 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4447, allocations: 4 kB / 0.7525 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.4448, allocations: 329.5 kB / 0.7528 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.4449, allocations: 20.91 kB / 0.7528 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.4449, allocations: 61.56 kB / 0.7529 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.445, allocations: 36.55 kB / 0.7529 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.445, allocations: 0 / 0.7529 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001776/0.4452, allocations: 116 kB / 0.753 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.4452, allocations: 3.969 kB / 0.753 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4452, allocations: 1.344 kB / 0.753 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4453, allocations: 5.281 kB / 0.753 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.4453, allocations: 11.42 kB / 0.753 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4453, allocations: 1.609 kB / 0.753 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.4454, allocations: 7.906 kB / 0.753 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4454, allocations: 6.641 kB / 0.753 GB, free: 24.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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 8.337e-05/0.4455, allocations: 118.5 kB / 0.7532 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.4456, allocations: 18.62 kB / 0.7532 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.4458, allocations: 116.5 kB / 0.7533 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.4458, allocations: 6.594 kB / 0.7533 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4458, allocations: 0 / 0.7533 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4458, allocations: 1.25 kB / 0.7533 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.446, allocations: 202.5 kB / 0.7535 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.446, allocations: 0 / 0.7535 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.446, allocations: 9.125 kB / 0.7535 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.446, allocations: 4 kB / 0.7535 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.446, allocations: 8.531 kB / 0.7535 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4461, allocations: 0 / 0.7535 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4461, allocations: 1.312 kB / 0.7535 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001868/0.4463, allocations: 137.1 kB / 0.7536 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.4463, allocations: 104 kB / 0.7537 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.4464, allocations: 5.219 kB / 0.7537 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.4464, allocations: 7.594 kB / 0.7537 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.4465, allocations: 9.281 kB / 0.7538 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.4465, allocations: 2.656 kB / 0.7538 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001634/0.4467, allocations: 185.6 kB / 0.7539 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002464/0.4469, allocations: 40.88 kB / 0.754 GB, free: 23.95 MB / 0.5105 GB 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000601/0.4475, allocations: 327.5 kB / 0.7543 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.4477, allocations: 72.19 kB / 0.7544 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4477, allocations: 0 / 0.7544 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.4478, allocations: 38.73 kB / 0.7544 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.448, allocations: 26.7 kB / 0.7544 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.4485, allocations: 229.9 kB / 0.7546 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.4489, allocations: 0.7593 MB / 0.7554 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4489, allocations: 0.5938 kB / 0.7554 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.005165/0.454, allocations: 2.166 MB / 0.7575 GB, free: 22.38 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)