Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.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/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/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.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [: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.002017/0.002017, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6422/0.6422, allocations: 130.6 MB / 138.5 MB, free: 2.184 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 391.4 MB, free: 13.04 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.0009414/0.0009414, allocations: 109.5 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.152e-06, allocations: 0 / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 81.59 MB / 0.6276 GB, free: 18.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5303, allocations: 110.8 MB / 0.7358 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5306, allocations: 74.7 kB / 0.7359 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003029/0.5336, allocations: 0.9154 MB / 0.7368 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5336, allocations: 0 / 0.7368 GB, free: 11.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004267/0.534, allocations: 380.3 kB / 0.7371 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5341, allocations: 11.56 kB / 0.7371 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.5341, allocations: 3.906 kB / 0.7371 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.5343, allocations: 164.5 kB / 0.7373 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5343, allocations: 3.781 kB / 0.7373 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5343, allocations: 4 kB / 0.7373 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.726e-05/0.5344, allocations: 19.39 kB / 0.7373 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.5345, allocations: 59.36 kB / 0.7374 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.5345, allocations: 0 / 0.7374 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5345, allocations: 0 / 0.7374 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5345, allocations: 0 / 0.7374 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.5348, allocations: 237.8 kB / 0.7376 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.5349, allocations: 37.94 kB / 0.7376 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.535, allocations: 21.8 kB / 0.7377 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.535, allocations: 3.906 kB / 0.7377 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.683e-05/0.5351, allocations: 99.06 kB / 0.7378 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.204e-06/0.5351, allocations: 3.984 kB / 0.7378 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0001629/0.5353, allocations: 69.31 kB / 0.7378 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5353, allocations: 80.92 kB / 0.7379 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.5354, allocations: 105.6 kB / 0.738 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5354, allocations: 27.2 kB / 0.738 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.5355, allocations: 80.14 kB / 0.7381 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.5355, allocations: 20.73 kB / 0.7381 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-06/0.5355, allocations: 0.5469 kB / 0.7381 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5356, allocations: 323.8 kB / 0.7384 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.5357, allocations: 18.12 kB / 0.7385 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.5357, allocations: 35.67 kB / 0.7385 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.5358, allocations: 19 kB / 0.7385 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5358, allocations: 0 / 0.7385 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001104/0.5359, allocations: 74.8 kB / 0.7386 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.5359, allocations: 7.719 kB / 0.7386 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5359, allocations: 3.844 kB / 0.7386 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.5359, allocations: 0 / 0.7386 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.536, allocations: 5.203 kB / 0.7386 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.536, allocations: 8.141 kB / 0.7386 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.5361, allocations: 20.06 kB / 0.7386 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5361, allocations: 0 / 0.7386 GB, free: 25.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * 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 9.877e-05/0.5362, allocations: 142.7 kB / 0.7388 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.5362, allocations: 7.75 kB / 0.7388 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.5362, allocations: 9.734 kB / 0.7388 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.5362, allocations: 0 / 0.7388 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5363, allocations: 7.875 kB / 0.7388 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5363, allocations: 0 / 0.7388 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.5366, allocations: 318.2 kB / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5366, allocations: 3.844 kB / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-06/0.5366, allocations: 1.953 kB / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.5366, allocations: 0 / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5366, allocations: 8.203 kB / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5366, allocations: 0 / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.5366, allocations: 3.906 kB / 0.7391 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001784/0.5368, allocations: 177.2 kB / 0.7393 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.5369, allocations: 84.92 kB / 0.7394 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.5369, allocations: 8.578 kB / 0.7394 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.537, allocations: 14.62 kB / 0.7394 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.5371, allocations: 6.641 kB / 0.7394 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5371, allocations: 7.844 kB / 0.7394 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.584e-05/0.5371, allocations: 84.97 kB / 0.7395 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000219/0.5374, allocations: 15.34 kB / 0.7395 GB, free: 24.8 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001105/0.5375, allocations: 100.8 kB / 0.7396 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.5376, allocations: 75.42 kB / 0.7397 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5376, allocations: 0 / 0.7397 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-05/0.5377, allocations: 57.22 kB / 0.7397 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.5379, allocations: 21.28 kB / 0.7397 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.5382, allocations: 92.95 kB / 0.7398 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.5384, allocations: 0.7012 MB / 0.7405 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.5385, allocations: 0 / 0.7405 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.002582/0.541, allocations: 0.7809 MB / 0.7413 GB, free: 23.79 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)