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.001542/0.001542, allocations: 80.94 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.001241/0.001241, allocations: 177 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.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8578/0.8578, allocations: 154.9 MB / 415.1 MB, free: 232 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.352e-06/1.352e-06, allocations: 0 / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.757e-05/5.892e-05, allocations: 7.234 kB / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005291/0.00535, allocations: 3.963 MB / 484.3 MB, free: 2.645 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.00723, allocations: 1.402 MB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.007464, allocations: 31.75 kB / 485.8 MB, free: 1.215 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.00771, allocations: 122.7 kB / 485.9 MB, free: 1.094 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.007947, allocations: 197.5 kB / 486.1 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.008474, allocations: 414.2 kB / 486.5 MB, free: 0.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00069/0.009164, allocations: 0.9766 MB / 487.5 MB, free: 15.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.009498, allocations: 302.6 kB / 487.7 MB, free: 15.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.009938, allocations: 0.4911 MB / 488.2 MB, free: 14.7 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.01016, allocations: 240 kB / 488.5 MB, free: 14.47 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.01024, allocations: 88 kB / 488.6 MB, free: 14.38 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.01031, allocations: 88.88 kB / 488.6 MB, free: 14.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.0104, allocations: 179.3 kB / 488.8 MB, free: 14.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01055, allocations: 244.1 kB / 489.1 MB, free: 13.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.01098, allocations: 0.572 MB / 489.6 MB, free: 13.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01098, allocations: 1.156 kB / 489.6 MB, free: 13.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.01098, allocations: 0 / 489.6 MB, free: 13.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01099, allocations: 0 / 489.6 MB, free: 13.31 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.001181/0.01217, allocations: 0.9676 MB / 490.6 MB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.0122, allocations: 9.062 kB / 490.6 MB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.0123, allocations: 108.8 kB / 490.7 MB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.01276, allocations: 420.1 kB / 491.1 MB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.01279, allocations: 45.69 kB / 491.2 MB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.01284, allocations: 64.98 kB / 491.2 MB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.01331, allocations: 490.6 kB / 491.7 MB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.01333, allocations: 4.812 kB / 491.7 MB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.01336, allocations: 22.17 kB / 491.7 MB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.01337, allocations: 19.94 kB / 491.8 MB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.01358, allocations: 163.7 kB / 491.9 MB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.01502, allocations: 1.291 MB / 493.2 MB, free: 9.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.01531, allocations: 222.8 kB / 493.4 MB, free: 9.402 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.01544, allocations: 111.2 kB / 493.5 MB, free: 9.293 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.01546, allocations: 8.5 kB / 493.5 MB, free: 9.285 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.01565, allocations: 159.3 kB / 493.7 MB, free: 9.121 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.01565, allocations: 0 / 493.7 MB, free: 9.121 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.000344/0.016, allocations: 260.3 kB / 494 MB, free: 8.867 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.01607, allocations: 63.84 kB / 494 MB, free: 8.793 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.01631, allocations: 379.2 kB / 494.4 MB, free: 8.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.01633, allocations: 37.7 kB / 494.4 MB, free: 8.367 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01646, allocations: 278.1 kB / 494.7 MB, free: 8.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.01663, allocations: 171.5 kB / 494.9 MB, free: 7.922 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.01672, allocations: 98.28 kB / 495 MB, free: 7.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01684, allocations: 371.5 kB / 495.3 MB, free: 7.449 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.01693, allocations: 74.98 kB / 495.4 MB, free: 7.371 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01705, allocations: 162.3 kB / 495.6 MB, free: 7.184 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01726, allocations: 257.9 kB / 495.8 MB, free: 6.898 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01727, allocations: 4 kB / 495.8 MB, free: 6.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002894/0.01756, allocations: 320.2 kB / 496.1 MB, free: 6.566 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.01758, allocations: 37.69 kB / 496.2 MB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01759, allocations: 0 / 496.2 MB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01761, allocations: 4.656 kB / 496.2 MB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.01792, allocations: 137.1 kB / 496.3 MB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.01792, allocations: 4 kB / 496.3 MB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.01805, allocations: 64.64 kB / 496.4 MB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.01807, allocations: 16 kB / 496.4 MB, free: 6.305 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.000114/0.01818, allocations: 131.8 kB / 496.5 MB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.01823, allocations: 51.95 kB / 496.6 MB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.01847, allocations: 66.41 kB / 496.6 MB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01847, allocations: 4.531 kB / 496.6 MB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01848, allocations: 3.938 kB / 496.6 MB, free: 6.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01848, allocations: 4.734 kB / 496.6 MB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.01908, allocations: 0.5802 MB / 497.2 MB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01908, allocations: 0.8125 kB / 497.2 MB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.01936, allocations: 119.2 kB / 497.3 MB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.01937, allocations: 9.391 kB / 497.3 MB, free: 5.316 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.01939, allocations: 12 kB / 497.4 MB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01939, allocations: 0 / 497.4 MB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01939, allocations: 0 / 497.4 MB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.01974, allocations: 399.5 kB / 497.7 MB, free: 4.898 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.01982, allocations: 67.42 kB / 497.8 MB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.01986, allocations: 16.58 kB / 497.8 MB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01996, allocations: 20.73 kB / 497.8 MB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.02002, allocations: 32.44 kB / 497.9 MB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.02003, allocations: 17.86 kB / 497.9 MB, free: 4.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.02014, allocations: 156.7 kB / 498 MB, free: 4.594 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02014, allocations: 0 / 498 MB, free: 4.594 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.02036, allocations: 147.6 kB / 498.2 MB, free: 4.449 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.961e-05/0.02044, allocations: 89.47 kB / 498.3 MB, free: 4.355 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.0207, allocations: 300.3 kB / 498.6 MB, free: 4.047 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.02071, allocations: 8 kB / 498.6 MB, free: 4.039 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.02082, allocations: 120.6 kB / 498.7 MB, free: 3.918 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.02116, allocations: 159.7 kB / 498.9 MB, free: 3.777 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.02249, allocations: 1.093 MB / 499.9 MB, free: 2.672 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.933e-05/0.02257, allocations: 131.1 kB / 0.4884 GB, free: 2.527 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.02272, allocations: 63.56 kB / 0.4884 GB, free: 2.477 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.02326, allocations: 161.3 kB / 0.4886 GB, free: 2.316 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02326, allocations: 0.625 kB / 0.4886 GB, free: 2.316 MB / 458.7 MB Notification: Performance of Templates: time 0.008294/0.03156, allocations: 6.431 MB / 0.4948 GB, free: 12.32 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.005402559880167]