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.0009105/0.0009105, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009938/0.0009938, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.088/1.088, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.8175/0.8175, allocations: 154.8 MB / 415.1 MB, free: 480 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 3.296e-06/3.296e-06, allocations: 0 / 0.5206 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.874e-05/4.204e-05, allocations: 6.188 kB / 0.5207 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002831/0.002873, allocations: 1.02 MB / 0.5216 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.004694, allocations: 1.054 MB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.004863, allocations: 4 kB / 0.5227 GB, free: 128 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.005024, allocations: 21.52 kB / 0.5227 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.005108, allocations: 11.81 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.005602, allocations: 79.78 kB / 0.5228 GB, free: 16 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.005943, allocations: 185.8 kB / 0.523 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.006167, allocations: 52.52 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.006387, allocations: 107.7 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.006508, allocations: 51.86 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.006546, allocations: 20 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.006623, allocations: 21.66 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.006677, allocations: 47.81 kB / 0.5233 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.706e-05/0.006754, allocations: 47.83 kB / 0.5233 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.00709, allocations: 127.5 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.007095, allocations: 0.75 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.007097, allocations: 0 / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.007104, allocations: 1.406 kB / 0.5234 GB, free: 15.36 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.0009576/0.008061, allocations: 0.5073 MB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.008131, allocations: 13.38 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.008367, allocations: 28.84 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.00875, allocations: 174.6 kB / 0.5241 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.008788, allocations: 12.38 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.008838, allocations: 24.27 kB / 0.5242 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.009154, allocations: 159.2 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.009164, allocations: 192 / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.00919, allocations: 12.12 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.009202, allocations: 7.938 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.009333, allocations: 52.55 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/0.01029, allocations: 479.6 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01062, allocations: 100.2 kB / 0.5249 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.01072, allocations: 53.33 kB / 0.525 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.01075, allocations: 8 kB / 0.525 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.01093, allocations: 116.6 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 2.275e-06/0.01094, allocations: 0 / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0003576/0.01129, allocations: 162.4 kB / 0.5253 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.01134, allocations: 59.34 kB / 0.5253 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.01148, allocations: 200.1 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.01151, allocations: 31.11 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01161, allocations: 163.2 kB / 0.5257 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.01168, allocations: 75.38 kB / 0.5258 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.01175, allocations: 44.52 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.01192, allocations: 0.4962 MB / 0.5263 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.01205, allocations: 31.98 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01216, allocations: 59.28 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.01232, allocations: 95.39 kB / 0.5265 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01232, allocations: 0 / 0.5265 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002836/0.01261, allocations: 156.6 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.01263, allocations: 4 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01263, allocations: 0 / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.01265, allocations: 4 kB / 0.5266 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.01281, allocations: 39.92 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.01282, allocations: 0 / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.0129, allocations: 23.81 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.01292, allocations: 8 kB / 0.5267 GB, free: 11.79 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.0001196/0.01304, allocations: 171.2 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.01308, allocations: 23.95 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.01336, allocations: 140.1 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.01337, allocations: 4 kB / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.01337, allocations: 0 / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01338, allocations: 0 / 0.527 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.01404, allocations: 0.5243 MB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.01404, allocations: 6.031 kB / 0.5275 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.01419, allocations: 35.92 kB / 0.5276 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.0142, allocations: 4 kB / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.01422, allocations: 0 / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01422, allocations: 4 kB / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.01423, allocations: 10.38 kB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.01464, allocations: 375.3 kB / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.01467, allocations: 27.83 kB / 0.528 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.0147, allocations: 4 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.0148, allocations: 11.94 kB / 0.528 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.01487, allocations: 26.17 kB / 0.528 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01489, allocations: 8 kB / 0.528 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.108e-05/0.01497, allocations: 155.1 kB / 0.5282 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01497, allocations: 0 / 0.5282 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003191/0.01529, allocations: 28 kB / 0.5282 GB, free: 10.14 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.0001549/0.01544, allocations: 104.2 kB / 0.5283 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.0157, allocations: 108.4 kB / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01571, allocations: 0 / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.01581, allocations: 66.62 kB / 0.5285 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.01618, allocations: 34.25 kB / 0.5285 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.01713, allocations: 379.4 kB / 0.5289 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.01719, allocations: 76.06 kB / 0.5289 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.01724, allocations: 13.48 kB / 0.5289 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.01729, allocations: 18.06 kB / 0.529 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/0.01729, allocations: 0 / 0.529 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of Templates: time 0.003932/0.02122, allocations: 1.751 MB / 0.5307 GB, free: 7.633 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.950456501916051]