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.001432/0.001432, 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.001324/0.001324, 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 1.075/1.075, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7829/0.7829, allocations: 154.9 MB / 415.1 MB, free: 256 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.754e-06/1.754e-06, allocations: 0 / 480.3 MB, free: 6.566 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.856e-05, allocations: 2.312 kB / 480.3 MB, free: 6.562 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.0112/0.01123, allocations: 3.917 MB / 484.2 MB, free: 2.688 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.01836, allocations: 1.395 MB / 485.6 MB, free: 1.293 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.01915, allocations: 32.66 kB / 485.7 MB, free: 1.262 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.01954, allocations: 126.7 kB / 485.8 MB, free: 1.137 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.02302, allocations: 188 kB / 486 MB, free: 0.957 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.02398, allocations: 421.3 kB / 486.4 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.02511, allocations: 0.9716 MB / 487.3 MB, free: 15.57 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.02559, allocations: 298.6 kB / 487.6 MB, free: 15.25 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.02931, allocations: 0.5034 MB / 488.1 MB, free: 14.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.02962, allocations: 239.2 kB / 488.4 MB, free: 14.51 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-05/0.02972, allocations: 88.88 kB / 488.5 MB, free: 14.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-05/0.02981, allocations: 84 kB / 488.5 MB, free: 14.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.02994, allocations: 180.6 kB / 488.7 MB, free: 14.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.03016, allocations: 247.4 kB / 489 MB, free: 13.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.03084, allocations: 0.5681 MB / 489.5 MB, free: 13.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.03084, allocations: 0.5938 kB / 489.5 MB, free: 13.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03085, allocations: 0 / 489.5 MB, free: 13.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.03086, allocations: 0.5938 kB / 489.5 MB, free: 13.36 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.004438/0.03529, allocations: 0.9794 MB / 490.5 MB, free: 12.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.03534, allocations: 8.031 kB / 490.5 MB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.03549, allocations: 105.6 kB / 490.6 MB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.03618, allocations: 415.9 kB / 491 MB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.03622, allocations: 47 kB / 491.1 MB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.03638, allocations: 56.38 kB / 491.1 MB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.03698, allocations: 491 kB / 491.6 MB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.037, allocations: 4.188 kB / 491.6 MB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.03704, allocations: 25.75 kB / 491.6 MB, free: 11.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.03706, allocations: 16.78 kB / 491.7 MB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.03734, allocations: 163.9 kB / 491.8 MB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004927/0.04226, allocations: 1.297 MB / 493.1 MB, free: 9.676 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.04264, allocations: 243.5 kB / 493.3 MB, free: 9.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.04277, allocations: 94.14 kB / 493.4 MB, free: 9.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.0428, allocations: 9.219 kB / 493.5 MB, free: 9.332 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.04304, allocations: 163.6 kB / 493.6 MB, free: 9.164 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 2.956e-06/0.04304, allocations: 0 / 493.6 MB, free: 9.164 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004165/0.04346, allocations: 258.6 kB / 493.9 MB, free: 8.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.0435, allocations: 63.91 kB / 493.9 MB, free: 8.836 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.04682, allocations: 380.6 kB / 494.3 MB, free: 8.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.04686, allocations: 33.7 kB / 494.3 MB, free: 8.414 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.04703, allocations: 282.1 kB / 494.6 MB, free: 8.133 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.04714, allocations: 170.5 kB / 494.8 MB, free: 7.965 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.04725, allocations: 95.14 kB / 494.9 MB, free: 7.867 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.04737, allocations: 374.5 kB / 495.2 MB, free: 7.492 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.04748, allocations: 79.52 kB / 495.3 MB, free: 7.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.04763, allocations: 169.5 kB / 495.5 MB, free: 7.215 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.04791, allocations: 258.8 kB / 495.7 MB, free: 6.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.04791, allocations: 0 / 495.7 MB, free: 6.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003817/0.04829, allocations: 328 kB / 496 MB, free: 6.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.04832, allocations: 33.7 kB / 496.1 MB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.04833, allocations: 0 / 496.1 MB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.04835, allocations: 4 kB / 496.1 MB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.04868, allocations: 112.7 kB / 496.2 MB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.04868, allocations: 9.344 kB / 496.2 MB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.04887, allocations: 55.61 kB / 496.3 MB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.0489, allocations: 16 kB / 496.3 MB, free: 6.363 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.0001425/0.04904, allocations: 142.2 kB / 496.4 MB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.0491, allocations: 45.62 kB / 496.5 MB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.04918, allocations: 66.09 kB / 496.5 MB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.04919, allocations: 8 kB / 496.5 MB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0492, allocations: 1.438 kB / 496.5 MB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.0492, allocations: 3.984 kB / 496.5 MB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003804/0.05301, allocations: 0.5798 MB / 497.1 MB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.05301, allocations: 1.375 kB / 497.1 MB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.05331, allocations: 87.83 kB / 497.2 MB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.05331, allocations: 5.688 kB / 497.2 MB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.05334, allocations: 8.875 kB / 497.2 MB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.05334, allocations: 4 kB / 497.2 MB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.05334, allocations: 2.125 kB / 497.2 MB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.0538, allocations: 402.8 kB / 497.6 MB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.05392, allocations: 63.48 kB / 497.7 MB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.05397, allocations: 12 kB / 497.7 MB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.05412, allocations: 17.11 kB / 497.7 MB, free: 4.887 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.05419, allocations: 44.36 kB / 497.7 MB, free: 4.844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.0542, allocations: 4 kB / 497.8 MB, free: 4.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.05432, allocations: 161.3 kB / 497.9 MB, free: 4.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05432, allocations: 0.7188 kB / 497.9 MB, free: 4.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.0546, allocations: 155.5 kB / 498.1 MB, free: 4.527 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 0.0001308/0.05473, allocations: 93.95 kB / 498.2 MB, free: 4.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.05512, allocations: 299.8 kB / 498.4 MB, free: 4.121 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.05513, allocations: 4 kB / 498.5 MB, free: 4.117 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.05524, allocations: 116.7 kB / 498.6 MB, free: 4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.0562, allocations: 151.2 kB / 498.7 MB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.05786, allocations: 1.094 MB / 499.8 MB, free: 2.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.05795, allocations: 131.3 kB / 499.9 MB, free: 2.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.05812, allocations: 65.52 kB / 500 MB, free: 2.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.05833, allocations: 158.2 kB / 0.4884 GB, free: 2.402 MB / 458.7 MB Notification: Performance of SimCode: time 1.352e-06/0.05834, allocations: 0 / 0.4884 GB, free: 2.402 MB / 458.7 MB Notification: Performance of Templates: time 0.009827/0.06816, allocations: 6.262 MB / 0.4945 GB, free: 12.57 MB / 474.7 MB " [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.036713219247758]