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.001283/0.001283, allocations: 77.31 kB / 19.76 MB, free: 2.047 MB / 14.72 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.001569/0.001569, allocations: 162.4 kB / 23.01 MB, free: 4.941 MB / 14.72 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 9.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8594/0.8594, allocations: 101.3 MB / 361.1 MB, free: 10.08 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 68.2 kB / 0.5356 GB, free: 5.578 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2128, allocations: 85.87 MB / 0.6195 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005809/0.2186, allocations: 3.733 MB / 0.6231 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003451/0.2221, allocations: 1.329 MB / 0.6244 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.2232, allocations: 35.75 kB / 0.6244 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.2237, allocations: 126.7 kB / 0.6246 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006695/0.2244, allocations: 178.4 kB / 0.6247 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2256, allocations: 428.2 kB / 0.6251 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.2272, allocations: 0.9554 MB / 0.6261 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005756/0.2278, allocations: 290.6 kB / 0.6263 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008482/0.2286, allocations: 0.5143 MB / 0.6268 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.229, allocations: 302.3 kB / 0.6271 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2292, allocations: 92 kB / 0.6272 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2293, allocations: 92 kB / 0.6273 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2294, allocations: 171.4 kB / 0.6275 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2298, allocations: 310.5 kB / 0.6278 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.231, allocations: 1.07 MB / 0.6288 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.231, allocations: 0 / 0.6288 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.231, allocations: 0 / 0.6288 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.231, allocations: 3.938 kB / 0.6288 GB, free: 8.258 MB / 0.5294 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.002397/0.2334, allocations: 1.088 MB / 0.6299 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2334, allocations: 8.031 kB / 0.6299 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2336, allocations: 88.42 kB / 0.63 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2347, allocations: 0.4999 MB / 0.6305 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.2347, allocations: 45.69 kB / 0.6305 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2348, allocations: 64.33 kB / 0.6306 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.236, allocations: 0.6542 MB / 0.6312 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.2361, allocations: 4 kB / 0.6312 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.2361, allocations: 23.94 kB / 0.6312 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.2361, allocations: 16 kB / 0.6312 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2372, allocations: 461 kB / 0.6317 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.2402, allocations: 1.706 MB / 0.6334 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.2411, allocations: 425.6 kB / 0.6338 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.2416, allocations: 222.3 kB / 0.634 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.2416, allocations: 8.5 kB / 0.634 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006033/0.2422, allocations: 262.2 kB / 0.6342 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 3.637e-06/0.2423, allocations: 0 / 0.6342 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001405/0.2437, allocations: 0.5826 MB / 0.6348 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2437, allocations: 59.91 kB / 0.6349 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/0.2443, allocations: 434.5 kB / 0.6353 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.2443, allocations: 33.7 kB / 0.6353 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.2446, allocations: 336.8 kB / 0.6356 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.2448, allocations: 174.5 kB / 0.6358 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.245, allocations: 94.3 kB / 0.6359 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.2452, allocations: 362.8 kB / 0.6362 GB, free: 444 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.2456, allocations: 194.9 kB / 0.6364 GB, free: 244 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.2461, allocations: 284.3 kB / 0.6367 GB, free: 15.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008714/0.247, allocations: 455.2 kB / 0.6371 GB, free: 15.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.247, allocations: 0 / 0.6371 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001235/0.2483, allocations: 0.5865 MB / 0.6377 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.2483, allocations: 37.69 kB / 0.6377 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.2483, allocations: 7.938 kB / 0.6377 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.2483, allocations: 4 kB / 0.6377 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.2489, allocations: 111.8 kB / 0.6378 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.2489, allocations: 4 kB / 0.6378 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.2493, allocations: 55.66 kB / 0.6379 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.2493, allocations: 19.98 kB / 0.6379 GB, free: 14.6 MB / 0.545 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.0003416/0.2497, allocations: 213.8 kB / 0.6381 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.2498, allocations: 55.67 kB / 0.6382 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.2499, allocations: 65.38 kB / 0.6382 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2499, allocations: 4 kB / 0.6382 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2499, allocations: 4 kB / 0.6382 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2499, allocations: 3.938 kB / 0.6382 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.2519, allocations: 1.004 MB / 0.6392 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2519, allocations: 3.938 kB / 0.6392 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.2524, allocations: 95.88 kB / 0.6393 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.2524, allocations: 4 kB / 0.6393 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.2525, allocations: 12 kB / 0.6393 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2525, allocations: 0 / 0.6393 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2525, allocations: 0 / 0.6393 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.254, allocations: 0.7631 MB / 0.6401 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.2542, allocations: 91.5 kB / 0.6402 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.2543, allocations: 15.94 kB / 0.6402 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.2546, allocations: 28.09 kB / 0.6402 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.2547, allocations: 40.38 kB / 0.6403 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.2548, allocations: 15.98 kB / 0.6403 GB, free: 12.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004246/0.2552, allocations: 295.1 kB / 0.6405 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2552, allocations: 0 / 0.6405 GB, free: 11.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005634/0.2558, allocations: 151.6 kB / 0.6407 GB, free: 11.7 MB / 0.545 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.0001731/0.2559, allocations: 106.1 kB / 0.6408 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.2571, allocations: 495.7 kB / 0.6413 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2571, allocations: 4 kB / 0.6413 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.2576, allocations: 202.8 kB / 0.6415 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.2584, allocations: 149 kB / 0.6416 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.2616, allocations: 1.345 MB / 0.6429 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.262, allocations: 296.7 kB / 0.6432 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002982/0.2622, allocations: 64.53 kB / 0.6433 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2624, allocations: 40.5 kB / 0.6433 GB, free: 8.953 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/0.2624, allocations: 4 kB / 0.6433 GB, free: 8.949 MB / 0.545 GB Notification: Performance of Templates: time 0.01346/0.2758, allocations: 5.814 MB / 0.649 GB, free: 3.273 MB / 0.545 GB " [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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.018360403832048] Failed to read output from testmodel.py, exit status != 0: 0.28452014410868287 0.30158331099999997 0.06715702599999994 Calling exit ...