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.00143/0.00143, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001385/0.001385, allocations: 169 kB / 23.27 MB, free: 1.227 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 0.9866/0.9866, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7961/0.7961, allocations: 154.9 MB / 415.1 MB, free: 272 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.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 1.893e-06/1.893e-06, allocations: 0 / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.587e-05, allocations: 5.016 kB / 0.5212 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001462/0.001478, allocations: 1.007 MB / 0.5222 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.00247, allocations: 1.05 MB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.002571, allocations: 5.312 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.002689, allocations: 15.8 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.002739, allocations: 23.69 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.002992, allocations: 76.28 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.003149, allocations: 181.1 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.003283, allocations: 52.52 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.003418, allocations: 105 kB / 0.5237 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.003501, allocations: 59.78 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.003527, allocations: 16 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-05/0.003582, allocations: 24.61 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.003612, allocations: 35.89 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.003651, allocations: 57.2 kB / 0.5238 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.003814, allocations: 127.4 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003816, allocations: 0 / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003816, allocations: 0 / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00382, allocations: 0.5625 kB / 0.524 GB, free: 14.64 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.000479/0.004299, allocations: 0.513 MB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.004331, allocations: 8.031 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.004421, allocations: 36.78 kB / 0.5245 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.004572, allocations: 167.2 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.004592, allocations: 17.38 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.004617, allocations: 28.31 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.004778, allocations: 144.4 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.004785, allocations: 0.875 kB / 0.5248 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.004798, allocations: 12.12 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004804, allocations: 4.719 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.155e-05/0.004855, allocations: 37.16 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.005376, allocations: 453.3 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.005548, allocations: 102 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.00559, allocations: 47.64 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.005614, allocations: 4 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.603e-05/0.00571, allocations: 116.2 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.223e-06/0.005712, allocations: 1.25 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0001917/0.005903, allocations: 146.6 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.005925, allocations: 55.41 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.006003, allocations: 200.4 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.006023, allocations: 33.7 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.006079, allocations: 163.7 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.006122, allocations: 68.34 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.006184, allocations: 51.34 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.006314, allocations: 0.4962 MB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.006399, allocations: 25.28 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.006446, allocations: 54.58 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.006524, allocations: 86.03 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006526, allocations: 0.9688 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001355/0.006662, allocations: 137.5 kB / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.006673, allocations: 9.875 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006677, allocations: 0 / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.006688, allocations: 0 / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.006781, allocations: 35.97 kB / 0.5271 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.006786, allocations: 8 kB / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.006831, allocations: 13 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.006839, allocations: 4 kB / 0.5271 GB, free: 11.2 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 7.702e-05/0.006916, allocations: 175.2 kB / 0.5273 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.006937, allocations: 23.84 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.007073, allocations: 126.7 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007075, allocations: 0 / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007076, allocations: 0 / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00708, allocations: 7.922 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.007451, allocations: 0.4944 MB / 0.5279 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.007453, allocations: 0 / 0.5279 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.007534, allocations: 31.98 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007537, allocations: 0.5 kB / 0.5279 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.007548, allocations: 9.156 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.007552, allocations: 7.984 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.007554, allocations: 3.938 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.007771, allocations: 356.3 kB / 0.5283 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.007788, allocations: 27.86 kB / 0.5283 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.007803, allocations: 4 kB / 0.5283 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.007868, allocations: 15.98 kB / 0.5284 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.007906, allocations: 31.78 kB / 0.5284 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.007913, allocations: 4 kB / 0.5284 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.007956, allocations: 146.2 kB / 0.5285 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007956, allocations: 0 / 0.5285 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001664/0.008122, allocations: 32 kB / 0.5286 GB, free: 9.613 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 7.437e-05/0.008196, allocations: 109.8 kB / 0.5287 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.008318, allocations: 95.5 kB / 0.5288 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.00832, allocations: 4 kB / 0.5288 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.00837, allocations: 52.23 kB / 0.5288 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.008576, allocations: 29.27 kB / 0.5288 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.009103, allocations: 375.5 kB / 0.5292 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.009143, allocations: 76.06 kB / 0.5293 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.32e-05/0.009186, allocations: 15.92 kB / 0.5293 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.009268, allocations: 102.2 kB / 0.5294 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.009269, allocations: 0 / 0.5294 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of Templates: time 0.003269/0.01254, allocations: 1.912 MB / 0.5312 GB, free: 6.895 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: 3.4757106648758054]