Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9319/0.9319, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7648/0.7648, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 479.9 MB, free: 6.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.327e-05, allocations: 2.312 kB / 479.9 MB, free: 6.965 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003725/0.003738, allocations: 3.929 MB / 483.9 MB, free: 3.074 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.005375, allocations: 1.389 MB / 485.3 MB, free: 1.688 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.005612, allocations: 36.38 kB / 485.3 MB, free: 1.652 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.005854, allocations: 122.8 kB / 485.4 MB, free: 1.531 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.006083, allocations: 190.6 kB / 485.6 MB, free: 1.348 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.0066, allocations: 418 kB / 486 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006058/0.007205, allocations: 0.9675 MB / 487 MB, free: 15.97 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.007518, allocations: 303.4 kB / 487.3 MB, free: 15.64 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.007888, allocations: 0.5028 MB / 487.8 MB, free: 15.14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.008093, allocations: 231.8 kB / 488 MB, free: 14.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.008165, allocations: 91.94 kB / 488.1 MB, free: 14.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.289e-05/0.008228, allocations: 88.62 kB / 488.2 MB, free: 14.74 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.089e-05/0.008319, allocations: 179.3 kB / 488.4 MB, free: 14.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.008475, allocations: 252 kB / 488.6 MB, free: 14.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.008884, allocations: 0.5687 MB / 489.2 MB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.008887, allocations: 4 kB / 489.2 MB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.008887, allocations: 0.625 kB / 489.2 MB, free: 13.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.008892, allocations: 0 / 489.2 MB, free: 13.74 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001204/0.0101, allocations: 0.9797 MB / 490.2 MB, free: 12.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.01013, allocations: 8.031 kB / 490.2 MB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.01022, allocations: 101.6 kB / 490.3 MB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.01067, allocations: 420.1 kB / 490.7 MB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.0107, allocations: 45.69 kB / 490.7 MB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.01076, allocations: 59.81 kB / 490.8 MB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.01117, allocations: 493.9 kB / 491.3 MB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.01118, allocations: 5.172 kB / 491.3 MB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.01121, allocations: 24.38 kB / 491.3 MB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.01122, allocations: 16.81 kB / 491.3 MB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.01143, allocations: 163.6 kB / 491.5 MB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.01279, allocations: 1.281 MB / 492.7 MB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.01304, allocations: 227.3 kB / 493 MB, free: 9.836 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.613e-05/0.01314, allocations: 99.64 kB / 493.1 MB, free: 9.738 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01316, allocations: 10.84 kB / 493.1 MB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.01333, allocations: 167.1 kB / 493.2 MB, free: 9.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/0.01333, allocations: 0 / 493.2 MB, free: 9.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003012/0.01363, allocations: 259.3 kB / 493.5 MB, free: 9.305 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.01366, allocations: 63.91 kB / 493.6 MB, free: 9.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.01387, allocations: 380.3 kB / 493.9 MB, free: 8.848 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.0139, allocations: 37.7 kB / 494 MB, free: 8.805 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.014, allocations: 270.1 kB / 494.2 MB, free: 8.535 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.01408, allocations: 179 kB / 494.4 MB, free: 8.359 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.01417, allocations: 98.23 kB / 494.5 MB, free: 8.254 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.01426, allocations: 372 kB / 494.9 MB, free: 7.883 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.01434, allocations: 86.92 kB / 494.9 MB, free: 7.793 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01445, allocations: 164.4 kB / 495.1 MB, free: 7.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.01464, allocations: 250.3 kB / 495.4 MB, free: 7.328 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01465, allocations: 1.688 kB / 495.4 MB, free: 7.328 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002706/0.01492, allocations: 327.5 kB / 495.7 MB, free: 6.988 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.01494, allocations: 31.58 kB / 495.7 MB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01495, allocations: 4 kB / 495.7 MB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.01496, allocations: 4.75 kB / 495.7 MB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.01519, allocations: 111.8 kB / 495.8 MB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.0152, allocations: 9.328 kB / 495.8 MB, free: 6.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01533, allocations: 55.61 kB / 495.9 MB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.01534, allocations: 12.66 kB / 495.9 MB, free: 6.762 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.01545, allocations: 146.5 kB / 496 MB, free: 6.609 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.0155, allocations: 47.95 kB / 496.1 MB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.01555, allocations: 62.09 kB / 496.1 MB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01556, allocations: 5.188 kB / 496.2 MB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.01556, allocations: 4 kB / 496.2 MB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01557, allocations: 0 / 496.2 MB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.01616, allocations: 0.5851 MB / 496.7 MB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01616, allocations: 0 / 496.7 MB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.01638, allocations: 91.89 kB / 496.8 MB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01638, allocations: 0.7812 kB / 496.8 MB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.0164, allocations: 8 kB / 496.8 MB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.0164, allocations: 6.281 kB / 496.8 MB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0164, allocations: 0 / 496.8 MB, free: 5.781 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.01674, allocations: 406.7 kB / 497.2 MB, free: 5.367 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.01682, allocations: 63.48 kB / 497.3 MB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.01686, allocations: 12 kB / 497.3 MB, free: 5.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01696, allocations: 17.81 kB / 497.3 MB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.01701, allocations: 40.38 kB / 497.4 MB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01703, allocations: 13.02 kB / 497.4 MB, free: 5.227 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.01714, allocations: 160.7 kB / 497.5 MB, free: 5.074 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01714, allocations: 0 / 497.5 MB, free: 5.074 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.01737, allocations: 144.3 kB / 497.7 MB, free: 4.934 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.927e-05/0.01745, allocations: 97.84 kB / 497.8 MB, free: 4.832 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.0177, allocations: 299.1 kB / 498.1 MB, free: 4.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.01771, allocations: 4 kB / 498.1 MB, free: 4.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.01782, allocations: 121.2 kB / 498.2 MB, free: 4.398 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.01816, allocations: 156.1 kB / 498.3 MB, free: 4.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.01948, allocations: 1.099 MB / 499.4 MB, free: 3.152 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.01956, allocations: 129.9 kB / 499.6 MB, free: 3.008 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.0197, allocations: 67.61 kB / 499.6 MB, free: 2.953 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.0199, allocations: 157.3 kB / 499.8 MB, free: 2.801 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0199, allocations: 0 / 499.8 MB, free: 2.801 MB / 458.7 MB Notification: Performance of Templates: time 0.008235/0.02814, allocations: 6.253 MB / 0.4942 GB, free: 12.99 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7214337619952857]