Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.001779/0.001779, allocations: 93.47 kB / 19.44 MB, free: 336 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.001953/0.001953, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.703/1.703, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.332/1.332, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.069e-05, allocations: 3.859 kB / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002559/0.00259, allocations: 1.03 MB / 0.5209 GB, free: 1.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.004503, allocations: 1.029 MB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.004638, allocations: 7.938 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.004786, allocations: 19.73 kB / 0.522 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.004872, allocations: 23.75 kB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.005231, allocations: 75.77 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.005512, allocations: 177.1 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005676, allocations: 60.42 kB / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.005871, allocations: 103.8 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.005985, allocations: 60.81 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.006026, allocations: 16 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.006086, allocations: 17.22 kB / 0.5225 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.292e-05/0.006149, allocations: 43.83 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.00622, allocations: 47.89 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.006535, allocations: 195.9 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.006542, allocations: 4 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006543, allocations: 1.625 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.00655, allocations: 0 / 0.5227 GB, free: 15.38 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000947/0.007497, allocations: 0.5199 MB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.007534, allocations: 8.031 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.007682, allocations: 32.84 kB / 0.5233 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.007983, allocations: 174.2 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.008008, allocations: 13.45 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.008045, allocations: 16.38 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.008402, allocations: 171.8 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.008413, allocations: 0.9062 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.008434, allocations: 8.125 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.008442, allocations: 4.625 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.008694, allocations: 92.95 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.009816, allocations: 0.5042 MB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.01022, allocations: 142.3 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.01038, allocations: 75.64 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.01041, allocations: 4 kB / 0.5245 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.01067, allocations: 147.6 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.01067, allocations: 0 / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0005524/0.01123, allocations: 215.4 kB / 0.5248 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.01127, allocations: 52.31 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.01147, allocations: 220.1 kB / 0.5251 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.01151, allocations: 33.7 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01164, allocations: 163.7 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.01185, allocations: 76.31 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.01195, allocations: 51.36 kB / 0.5254 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002765/0.01222, allocations: 0.5001 MB / 0.5259 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.0124, allocations: 61.56 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.0126, allocations: 86.8 kB / 0.526 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.01291, allocations: 147 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01291, allocations: 0 / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004658/0.01338, allocations: 199.6 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.01339, allocations: 4 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.0134, allocations: 0 / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.01341, allocations: 3.938 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.0136, allocations: 40.72 kB / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.0136, allocations: 0 / 0.5264 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01372, allocations: 20.61 kB / 0.5264 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01373, allocations: 7.984 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001704/0.0139, allocations: 181 kB / 0.5266 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.01394, allocations: 16.66 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.01435, allocations: 176.1 kB / 0.5268 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.01435, allocations: 4 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.01436, allocations: 4 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01437, allocations: 5.484 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009261/0.01529, allocations: 0.5867 MB / 0.5273 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.0153, allocations: 0 / 0.5273 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.01547, allocations: 39.92 kB / 0.5274 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.01548, allocations: 4 kB / 0.5274 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01549, allocations: 0 / 0.5274 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.0155, allocations: 14.08 kB / 0.5274 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.01551, allocations: 7.875 kB / 0.5274 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.01616, allocations: 435.2 kB / 0.5278 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.01618, allocations: 11.91 kB / 0.5278 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.01621, allocations: 8.906 kB / 0.5278 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.01635, allocations: 19.92 kB / 0.5279 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.01642, allocations: 24.66 kB / 0.5279 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.01644, allocations: 7.984 kB / 0.5279 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001177/0.01656, allocations: 155.8 kB / 0.528 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01656, allocations: 3.375 kB / 0.528 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002967/0.01685, allocations: 31.94 kB / 0.5281 GB, free: 9.586 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001452/0.017, allocations: 103.2 kB / 0.5282 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004145/0.01741, allocations: 159.5 kB / 0.5283 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.01742, allocations: 0 / 0.5283 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.01759, allocations: 86.56 kB / 0.5284 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.01793, allocations: 28.36 kB / 0.5284 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.01869, allocations: 394.1 kB / 0.5288 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.01882, allocations: 110.7 kB / 0.5289 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.734e-05/0.0189, allocations: 14.36 kB / 0.5289 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.01897, allocations: 28.48 kB / 0.529 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01897, allocations: 0 / 0.529 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of Templates: time 0.00576/0.02473, allocations: 1.753 MB / 0.5307 GB, free: 6.945 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.276594812981784]