Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") [: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.2775/0.2775, allocations: 54.39 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.001308/0.001307, allocations: 186.9 kB / 75.38 MB, free: 1.453 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.598/1.598, allocations: 194.2 MB / 283.2 MB, free: 3.555 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.001703/0.001703, allocations: 115.9 kB / 341.3 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.716e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/0.5129, allocations: 91.4 MB / 0.541 GB, free: 5.746 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5132, allocations: 71.97 kB / 0.5411 GB, free: 5.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01796/0.5311, allocations: 6.61 MB / 0.5475 GB, free: 15.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.291e-05/0.5312, allocations: 12 kB / 0.5475 GB, free: 15.7 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001163/0.5324, allocations: 0.6023 MB / 0.5481 GB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5325, allocations: 11.97 kB / 0.5481 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.5327, allocations: 55.34 kB / 0.5482 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.5335, allocations: 387.2 kB / 0.5486 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.5335, allocations: 8 kB / 0.5486 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.5336, allocations: 16 kB / 0.5486 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004576/0.534, allocations: 189.3 kB / 0.5488 GB, free: 14.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.5346, allocations: 296.9 kB / 0.549 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.5346, allocations: 0 / 0.549 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.5346, allocations: 4 kB / 0.549 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.5347, allocations: 4 kB / 0.549 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.5367, allocations: 1.189 MB / 0.5502 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.537, allocations: 151.4 kB / 0.5504 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5372, allocations: 97.39 kB / 0.5504 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.5373, allocations: 8.188 kB / 0.5505 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5373, allocations: 42.62 kB / 0.5505 GB, free: 12.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/0.5373, allocations: 0 / 0.5505 GB, free: 12.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004643/0.5378, allocations: 200.3 kB / 0.5507 GB, free: 12.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.5379, allocations: 162.2 kB / 0.5508 GB, free: 12.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.5382, allocations: 266 kB / 0.5511 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.5383, allocations: 29.7 kB / 0.5511 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.5384, allocations: 172 kB / 0.5513 GB, free: 11.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.5385, allocations: 78.91 kB / 0.5514 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.5385, allocations: 0 / 0.5514 GB, free: 11.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.5388, allocations: 342.8 kB / 0.5517 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.539, allocations: 68 kB / 0.5518 GB, free: 11.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.5392, allocations: 139.7 kB / 0.5519 GB, free: 10.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.5393, allocations: 83.91 kB / 0.552 GB, free: 10.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5394, allocations: 0 / 0.552 GB, free: 10.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004289/0.5398, allocations: 229.2 kB / 0.5522 GB, free: 10.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.54, allocations: 457.1 kB / 0.5526 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.54, allocations: 4 kB / 0.5526 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.54, allocations: 4 kB / 0.5526 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.5403, allocations: 55.97 kB / 0.5527 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5403, allocations: 3.938 kB / 0.5527 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.5406, allocations: 47.72 kB / 0.5527 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.5406, allocations: 8 kB / 0.5527 GB, free: 10.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.5407, allocations: 4 kB / 0.5527 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002982/0.541, allocations: 159.9 kB / 0.5529 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.541, allocations: 0 / 0.5529 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.541, allocations: 8.125 kB / 0.5529 GB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.5412, allocations: 47.92 kB / 0.5529 GB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5412, allocations: 7.984 kB / 0.553 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.5414, allocations: 31.88 kB / 0.553 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5415, allocations: 15.97 kB / 0.553 GB, free: 9.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * 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 0.0001256/0.5416, allocations: 112.9 kB / 0.5531 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.5417, allocations: 35.53 kB / 0.5531 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.5418, allocations: 35.16 kB / 0.5532 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5418, allocations: 4 kB / 0.5532 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5418, allocations: 4 kB / 0.5532 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5419, allocations: 0 / 0.5532 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.5423, allocations: 369.7 kB / 0.5535 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5423, allocations: 4 kB / 0.5535 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.5426, allocations: 43.92 kB / 0.5536 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.5426, allocations: 11.92 kB / 0.5536 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.5426, allocations: 4 kB / 0.5536 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.5427, allocations: 3.906 kB / 0.5536 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5427, allocations: 0 / 0.5536 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005785/0.5432, allocations: 407.2 kB / 0.554 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.5434, allocations: 132.6 kB / 0.5541 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.5435, allocations: 3.984 kB / 0.5541 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.5437, allocations: 28.05 kB / 0.5541 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.5438, allocations: 15.97 kB / 0.5542 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.5438, allocations: 8 kB / 0.5542 GB, free: 8.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000209/0.5441, allocations: 208.6 kB / 0.5544 GB, free: 8.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004968/0.5446, allocations: 123.4 kB / 0.5545 GB, free: 8.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001796/0.5447, allocations: 107.2 kB / 0.5546 GB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.5453, allocations: 297.7 kB / 0.5549 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5453, allocations: 0 / 0.5549 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.5454, allocations: 95.92 kB / 0.555 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.5459, allocations: 57.17 kB / 0.555 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.5473, allocations: 0.5042 MB / 0.5555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/0.5479, allocations: 0.8265 MB / 0.5563 GB, free: 6.227 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5479, allocations: 0 / 0.5563 GB, free: 6.227 MB / 394.7 MB Notification: Performance of Templates: time 0.01138/0.5593, allocations: 4.677 MB / 0.5609 GB, free: 1.57 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)