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.001031/0.001031, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001117/0.001117, allocations: 169 kB / 23.02 MB, free: 1.551 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.006/1.006, allocations: 177.1 MB / 203.4 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.7991/0.7991, allocations: 154.9 MB / 414.8 MB, free: 360 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.353e-06/1.353e-06, allocations: 0 / 0.5206 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.059e-05, allocations: 6.578 kB / 0.5206 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004449/0.00448, allocations: 3.999 MB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.00739, allocations: 1.344 MB / 0.5259 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.008017, allocations: 31.75 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.008381, allocations: 131.6 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.008831, allocations: 185.9 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.009748, allocations: 424.6 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.0109, allocations: 0.9746 MB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.01139, allocations: 278.7 kB / 0.5278 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.0121, allocations: 0.5152 MB / 0.5283 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.01245, allocations: 231.2 kB / 0.5285 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01255, allocations: 89.47 kB / 0.5286 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.01263, allocations: 88 kB / 0.5287 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.01275, allocations: 175.4 kB / 0.5289 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.01298, allocations: 255.3 kB / 0.5291 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.01365, allocations: 0.5666 MB / 0.5297 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.01365, allocations: 0 / 0.5297 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.01365, allocations: 0 / 0.5297 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.01367, allocations: 4 kB / 0.5297 GB, free: 8.559 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.00161/0.01528, allocations: 1.139 MB / 0.5308 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.01534, allocations: 12.03 kB / 0.5308 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.01556, allocations: 133.1 kB / 0.5309 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.01625, allocations: 0.54 MB / 0.5315 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.01629, allocations: 46.34 kB / 0.5315 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.01637, allocations: 60.38 kB / 0.5316 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.01722, allocations: 0.5236 MB / 0.5321 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.01724, allocations: 192 / 0.5321 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.01728, allocations: 26.81 kB / 0.5321 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.0173, allocations: 15.94 kB / 0.5321 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.01768, allocations: 223.6 kB / 0.5323 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.01972, allocations: 1.796 MB / 0.5341 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.02018, allocations: 283 kB / 0.5343 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.02034, allocations: 131.5 kB / 0.5345 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.02037, allocations: 8.5 kB / 0.5345 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.02063, allocations: 175.9 kB / 0.5346 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.837e-06/0.02064, allocations: 0 / 0.5346 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0006059/0.02124, allocations: 389.3 kB / 0.535 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.02129, allocations: 62.59 kB / 0.5351 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.02176, allocations: 450.5 kB / 0.5355 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.02179, allocations: 37.7 kB / 0.5355 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.022, allocations: 379.6 kB / 0.5359 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.02209, allocations: 166.5 kB / 0.5361 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02221, allocations: 104 kB / 0.5362 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.02238, allocations: 0.5274 MB / 0.5367 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.02253, allocations: 108.2 kB / 0.5368 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.02272, allocations: 213.8 kB / 0.537 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.02305, allocations: 303.6 kB / 0.5373 GB, free: 448 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.02305, allocations: 0.6562 kB / 0.5373 GB, free: 448 kB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005041/0.02356, allocations: 450.7 kB / 0.5377 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.02359, allocations: 34.45 kB / 0.5377 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.0236, allocations: 4 kB / 0.5377 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.02362, allocations: 4 kB / 0.5377 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.02392, allocations: 117.5 kB / 0.5379 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.02394, allocations: 15.91 kB / 0.5379 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.02408, allocations: 47.67 kB / 0.5379 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.02411, allocations: 21.2 kB / 0.5379 GB, free: 15.74 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 (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.000143/0.02425, allocations: 185 kB / 0.5381 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.02431, allocations: 76.56 kB / 0.5382 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252e-05/0.02439, allocations: 61.44 kB / 0.5382 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.02439, allocations: 8.875 kB / 0.5383 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.0244, allocations: 3.938 kB / 0.5383 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.0244, allocations: 3.625 kB / 0.5383 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.02556, allocations: 0.8704 MB / 0.5391 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02556, allocations: 0 / 0.5391 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.02581, allocations: 87.89 kB / 0.5392 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.02582, allocations: 0 / 0.5392 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.02584, allocations: 15.94 kB / 0.5392 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.02585, allocations: 0 / 0.5392 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.02585, allocations: 4 kB / 0.5392 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/0.02641, allocations: 0.5558 MB / 0.5398 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.02653, allocations: 99.45 kB / 0.5399 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.02658, allocations: 11.94 kB / 0.5399 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.0267, allocations: 19.98 kB / 0.5399 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/0.02678, allocations: 40.31 kB / 0.5399 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.0268, allocations: 15.98 kB / 0.5399 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001942/0.027, allocations: 291 kB / 0.5402 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.027, allocations: 3.188 kB / 0.5402 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003217/0.02732, allocations: 143.6 kB / 0.5404 GB, free: 13.2 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.0001269/0.02744, allocations: 111.2 kB / 0.5405 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.02787, allocations: 352.1 kB / 0.5408 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.02787, allocations: 0 / 0.5408 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.02804, allocations: 139.5 kB / 0.5409 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.02852, allocations: 154.9 kB / 0.5411 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.03038, allocations: 1.166 MB / 0.5422 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.03047, allocations: 133.9 kB / 0.5423 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.03066, allocations: 63.44 kB / 0.5424 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.03075, allocations: 40.5 kB / 0.5424 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of SimCode: time 2.454e-06/0.03075, allocations: 1.562 kB / 0.5424 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.009975/0.04073, allocations: 6.118 MB / 0.5484 GB, free: 5.152 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.215909481979907]