Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.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.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay") translateModel(Annex60.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2909/0.2909, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.001293/0.001293, allocations: 184.4 kB / 75.38 MB, free: 1.539 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.718/1.718, allocations: 194.2 MB / 283.2 MB, free: 3.535 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.001974/0.001974, allocations: 118.7 kB / 341.3 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.545e-06, allocations: 0 / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1781, allocations: 57.65 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4507/0.6289, allocations: 85.34 MB / 0.5351 GB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.6292, allocations: 72.92 kB / 0.5351 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003257/0.6324, allocations: 0.8459 MB / 0.536 GB, free: 10.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.6325, allocations: 4 kB / 0.536 GB, free: 10.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000542/0.633, allocations: 387.3 kB / 0.5363 GB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6331, allocations: 15.97 kB / 0.5364 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.6331, allocations: 7.906 kB / 0.5364 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.6333, allocations: 167 kB / 0.5365 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6333, allocations: 0 / 0.5365 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.6334, allocations: 7.906 kB / 0.5365 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.34e-05/0.6335, allocations: 14.94 kB / 0.5366 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.6336, allocations: 48.94 kB / 0.5366 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6336, allocations: 0 / 0.5366 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.6336, allocations: 3.984 kB / 0.5366 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.6336, allocations: 0 / 0.5366 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.634, allocations: 244.2 kB / 0.5368 GB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.6341, allocations: 41.81 kB / 0.5369 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.6342, allocations: 20.92 kB / 0.5369 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.6342, allocations: 0 / 0.5369 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.6343, allocations: 96.47 kB / 0.537 GB, free: 9.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.6343, allocations: 4 kB / 0.537 GB, free: 9.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002074/0.6345, allocations: 77 kB / 0.5371 GB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.6346, allocations: 85.09 kB / 0.5371 GB, free: 9.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.6347, allocations: 100.1 kB / 0.5372 GB, free: 9.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.6347, allocations: 25.7 kB / 0.5373 GB, free: 9.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.6348, allocations: 82.11 kB / 0.5373 GB, free: 9.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.6348, allocations: 19.42 kB / 0.5374 GB, free: 9.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.6348, allocations: 0 / 0.5374 GB, free: 9.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6349, allocations: 330.4 kB / 0.5377 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-05/0.635, allocations: 11.69 kB / 0.5377 GB, free: 9.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/0.635, allocations: 33.81 kB / 0.5377 GB, free: 9.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.6351, allocations: 11.69 kB / 0.5377 GB, free: 9.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6351, allocations: 3.938 kB / 0.5377 GB, free: 9.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001183/0.6352, allocations: 80.27 kB / 0.5378 GB, free: 8.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.6352, allocations: 4.062 kB / 0.5378 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6352, allocations: 8 kB / 0.5378 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6353, allocations: 0 / 0.5378 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.6353, allocations: 11.92 kB / 0.5378 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.6353, allocations: 0 / 0.5378 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.6354, allocations: 8 kB / 0.5378 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.6354, allocations: 3.938 kB / 0.5378 GB, free: 8.898 MB / 378.7 MB 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.pulsStart,booleanPulse.pulsStart) * 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 0.0001304/0.6356, allocations: 146.1 kB / 0.538 GB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.6356, allocations: 7.906 kB / 0.538 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.6356, allocations: 7.812 kB / 0.538 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.6356, allocations: 0 / 0.538 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6356, allocations: 0 / 0.538 GB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6357, allocations: 3.906 kB / 0.538 GB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.636, allocations: 320.3 kB / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.636, allocations: 0 / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-06/0.636, allocations: 0 / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.636, allocations: 0 / 0.5383 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.6361, allocations: 11.91 kB / 0.5383 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6361, allocations: 0 / 0.5383 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6361, allocations: 4.062 kB / 0.5383 GB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001823/0.6363, allocations: 181.9 kB / 0.5385 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.6363, allocations: 85.02 kB / 0.5386 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.6364, allocations: 0 / 0.5386 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.6365, allocations: 22.5 kB / 0.5386 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.6366, allocations: 15.48 kB / 0.5386 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.6366, allocations: 4 kB / 0.5386 GB, free: 8.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.087e-05/0.6366, allocations: 80.53 kB / 0.5387 GB, free: 7.988 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.6369, allocations: 12 kB / 0.5387 GB, free: 7.977 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulsStart) * 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.0001172/0.637, allocations: 106.7 kB / 0.5388 GB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.6372, allocations: 75.45 kB / 0.5389 GB, free: 7.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.6372, allocations: 0 / 0.5389 GB, free: 7.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.6373, allocations: 60.77 kB / 0.5389 GB, free: 7.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.6375, allocations: 20.89 kB / 0.539 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.6378, allocations: 89.45 kB / 0.539 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.6382, allocations: 0.7036 MB / 0.5397 GB, free: 6.895 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6382, allocations: 128 / 0.5397 GB, free: 6.895 MB / 378.7 MB Notification: Performance of Templates: time 0.003047/0.6412, allocations: 0.7793 MB / 0.5405 GB, free: 6.129 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.sim & ./Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)