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.0008569/0.0008569, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009422/0.0009422, allocations: 170 kB / 23.28 MB, free: 1.219 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.8861/0.8861, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7064/0.7064, allocations: 154.9 MB / 415.1 MB, free: 240 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 1.553e-06/1.553e-06, allocations: 0 / 0.5211 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.159e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004741/0.004763, allocations: 3.908 MB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.007112, allocations: 1.347 MB / 0.5262 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.007576, allocations: 31.81 kB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.007894, allocations: 126.7 kB / 0.5264 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.008243, allocations: 194.2 kB / 0.5265 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.008968, allocations: 412.3 kB / 0.5269 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008946/0.009863, allocations: 0.9785 MB / 0.5279 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.01029, allocations: 282.7 kB / 0.5282 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.01086, allocations: 0.5004 MB / 0.5287 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.01113, allocations: 235.2 kB / 0.5289 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.01122, allocations: 88 kB / 0.529 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.34e-05/0.01132, allocations: 92.97 kB / 0.529 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.01143, allocations: 179.4 kB / 0.5292 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.01163, allocations: 243.4 kB / 0.5295 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005702/0.0122, allocations: 0.5727 MB / 0.53 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.0122, allocations: 0 / 0.53 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.0122, allocations: 1.281 kB / 0.53 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.01221, allocations: 0 / 0.53 GB, free: 8.41 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.001329/0.01354, allocations: 1.16 MB / 0.5311 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01358, allocations: 12.02 kB / 0.5312 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.01398, allocations: 144.3 kB / 0.5313 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/0.01461, allocations: 0.529 MB / 0.5318 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.01465, allocations: 45.69 kB / 0.5319 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.01472, allocations: 64.36 kB / 0.5319 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.0153, allocations: 492.5 kB / 0.5324 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.01532, allocations: 4.188 kB / 0.5324 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.01536, allocations: 20.88 kB / 0.5324 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.01538, allocations: 19.94 kB / 0.5324 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.01566, allocations: 184.8 kB / 0.5326 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.01754, allocations: 1.724 MB / 0.5343 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.0179, allocations: 254.7 kB / 0.5345 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.01804, allocations: 114.1 kB / 0.5346 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.01807, allocations: 8.5 kB / 0.5346 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.0183, allocations: 168.8 kB / 0.5348 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.0183, allocations: 0 / 0.5348 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0004866/0.01879, allocations: 342.8 kB / 0.5351 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.01883, allocations: 63.84 kB / 0.5352 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.01916, allocations: 442.3 kB / 0.5356 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.01919, allocations: 38.98 kB / 0.5357 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.01939, allocations: 375.5 kB / 0.536 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.0195, allocations: 174.5 kB / 0.5362 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.01962, allocations: 100.6 kB / 0.5363 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.01978, allocations: 0.539 MB / 0.5368 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.0199, allocations: 87.58 kB / 0.5369 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.02006, allocations: 191.3 kB / 0.5371 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.02035, allocations: 278.8 kB / 0.5373 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02035, allocations: 0.5938 kB / 0.5373 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004632/0.02081, allocations: 418.9 kB / 0.5377 GB, free: 160 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.02085, allocations: 33.7 kB / 0.5378 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.02085, allocations: 4 kB / 0.5378 GB, free: 116 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.02087, allocations: 4.594 kB / 0.5378 GB, free: 112 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.0212, allocations: 117.1 kB / 0.5379 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.02121, allocations: 7.938 kB / 0.5379 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.02138, allocations: 61.92 kB / 0.538 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.0214, allocations: 12 kB / 0.538 GB, free: 15.92 MB / 0.5105 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 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0003921/0.02179, allocations: 185.8 kB / 0.5381 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.02186, allocations: 67.62 kB / 0.5382 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.02195, allocations: 69.44 kB / 0.5383 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.02195, allocations: 6.375 kB / 0.5383 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.02195, allocations: 0 / 0.5383 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.02196, allocations: 11.91 kB / 0.5383 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/0.02282, allocations: 0.7654 MB / 0.539 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02282, allocations: 0 / 0.539 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.02311, allocations: 93.64 kB / 0.5391 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.02312, allocations: 0 / 0.5391 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.02314, allocations: 12 kB / 0.5391 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.02314, allocations: 7.984 kB / 0.5391 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02315, allocations: 3.938 kB / 0.5391 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.02367, allocations: 0.5144 MB / 0.5397 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.02379, allocations: 96.23 kB / 0.5397 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.02383, allocations: 8 kB / 0.5398 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.02399, allocations: 25.86 kB / 0.5398 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.02406, allocations: 40.36 kB / 0.5398 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.02408, allocations: 8 kB / 0.5398 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001782/0.02425, allocations: 275 kB / 0.5401 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.02425, allocations: 0.9375 kB / 0.5401 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003715/0.02463, allocations: 147.6 kB / 0.5402 GB, free: 13.54 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.0001088/0.02473, allocations: 108.3 kB / 0.5403 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003652/0.0251, allocations: 314.8 kB / 0.5406 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.0251, allocations: 0 / 0.5406 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.02526, allocations: 139.4 kB / 0.5408 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.0258, allocations: 156.3 kB / 0.5409 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.02757, allocations: 1.157 MB / 0.542 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.02767, allocations: 133.9 kB / 0.5422 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.02789, allocations: 68.34 kB / 0.5422 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.02815, allocations: 187.1 kB / 0.5424 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.02815, allocations: 3.938 kB / 0.5424 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.0112/0.03935, allocations: 6.317 MB / 0.5486 GB, free: 5.184 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: 3.5004821959882975]