Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001121/0.001121, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001543/0.001543, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7887/0.7887, allocations: 154.8 MB / 415.1 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.5205 GB, free: 2.359 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.689e-05, allocations: 4.141 kB / 0.5205 GB, free: 2.355 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005037/0.005073, allocations: 3.983 MB / 0.5244 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.007685, allocations: 1.334 MB / 0.5257 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006128/0.008298, allocations: 28.62 kB / 0.5258 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.008671, allocations: 134.6 kB / 0.5259 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.009127, allocations: 191.5 kB / 0.5261 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.01, allocations: 423.3 kB / 0.5265 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.01112, allocations: 0.9746 MB / 0.5274 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.01166, allocations: 286.7 kB / 0.5277 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.01251, allocations: 0.5009 MB / 0.5282 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.01282, allocations: 239.2 kB / 0.5284 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.01294, allocations: 88 kB / 0.5285 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.01302, allocations: 92 kB / 0.5286 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.01312, allocations: 179.4 kB / 0.5288 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.01335, allocations: 252.8 kB / 0.529 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006932/0.01405, allocations: 0.5876 MB / 0.5296 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.01405, allocations: 0 / 0.5296 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.01405, allocations: 0 / 0.5296 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.01407, allocations: 0.9688 kB / 0.5296 GB, free: 9.078 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001508/0.01558, allocations: 1.148 MB / 0.5307 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.01564, allocations: 8.531 kB / 0.5307 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.01582, allocations: 140.4 kB / 0.5308 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.01654, allocations: 0.5411 MB / 0.5314 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.01658, allocations: 41.69 kB / 0.5314 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.01667, allocations: 62.81 kB / 0.5315 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007215/0.0174, allocations: 0.5225 MB / 0.532 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.01742, allocations: 192 / 0.532 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.01746, allocations: 28.38 kB / 0.532 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.01748, allocations: 15.94 kB / 0.532 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004034/0.01788, allocations: 226.2 kB / 0.5322 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.01999, allocations: 1.796 MB / 0.534 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.02048, allocations: 278 kB / 0.5343 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.02067, allocations: 129.1 kB / 0.5344 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.02071, allocations: 8.5 kB / 0.5344 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.02104, allocations: 179.9 kB / 0.5346 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.948e-06/0.02104, allocations: 2.75 kB / 0.5346 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0008996/0.02194, allocations: 392.6 kB / 0.5349 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.02199, allocations: 59.84 kB / 0.535 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.02235, allocations: 447.2 kB / 0.5354 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.02239, allocations: 41.69 kB / 0.5355 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.02259, allocations: 379.6 kB / 0.5358 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.02269, allocations: 171.2 kB / 0.536 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.02281, allocations: 96 kB / 0.5361 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.02298, allocations: 0.5367 MB / 0.5366 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.02314, allocations: 98.97 kB / 0.5367 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.02335, allocations: 217.8 kB / 0.5369 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.02368, allocations: 304.5 kB / 0.5372 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02368, allocations: 0 / 0.5372 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005139/0.0242, allocations: 446.4 kB / 0.5376 GB, free: 500 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.02425, allocations: 42.5 kB / 0.5377 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.02426, allocations: 0 / 0.5377 GB, free: 452 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.02429, allocations: 9.219 kB / 0.5377 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.02462, allocations: 107.8 kB / 0.5378 GB, free: 336 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.02463, allocations: 7.938 kB / 0.5378 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.02481, allocations: 52.59 kB / 0.5378 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.02483, allocations: 20 kB / 0.5378 GB, free: 256 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * 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.0001843/0.02502, allocations: 189.9 kB / 0.538 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.02511, allocations: 74.39 kB / 0.5381 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.02521, allocations: 61.41 kB / 0.5382 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.02521, allocations: 4 kB / 0.5382 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.02522, allocations: 3.938 kB / 0.5382 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.02524, allocations: 7.984 kB / 0.5382 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.0263, allocations: 0.8704 MB / 0.539 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0263, allocations: 3.719 kB / 0.539 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.02657, allocations: 87.89 kB / 0.5391 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.02658, allocations: 4 kB / 0.5391 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.02661, allocations: 15.94 kB / 0.5391 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.02661, allocations: 0 / 0.5391 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02662, allocations: 0 / 0.5391 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.02726, allocations: 0.5566 MB / 0.5397 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.02739, allocations: 95.47 kB / 0.5398 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.02744, allocations: 19.23 kB / 0.5398 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02758, allocations: 19.98 kB / 0.5398 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.02767, allocations: 44.31 kB / 0.5398 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.02769, allocations: 8 kB / 0.5398 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002217/0.02791, allocations: 299 kB / 0.5401 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02791, allocations: 0 / 0.5401 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003822/0.02829, allocations: 139.6 kB / 0.5403 GB, free: 13.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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 0.0001548/0.02845, allocations: 114.8 kB / 0.5404 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.02893, allocations: 346.3 kB / 0.5407 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.02894, allocations: 0 / 0.5407 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.02912, allocations: 144 kB / 0.5408 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.02967, allocations: 158 kB / 0.541 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.03201, allocations: 1.171 MB / 0.5421 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.03211, allocations: 136.1 kB / 0.5423 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.03232, allocations: 55.05 kB / 0.5423 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.03242, allocations: 44.48 kB / 0.5424 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/0.03242, allocations: 0 / 0.5424 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.01015/0.04256, allocations: 5.82 MB / 0.548 GB, free: 5.949 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.317465092986822]