Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008969/0.0008969, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002223, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001301/0.001301, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002134/0.003435, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09612/1.134, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8462/0.8462, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.2811/1.127, allocations: 49.05 MB / 447.8 MB, free: 6.566 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 449.2 MB, free: 5.188 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.544e-05, allocations: 5.5 kB / 449.2 MB, free: 5.184 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001858/0.001884, allocations: 1.066 MB / 450.3 MB, free: 4.164 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004136/0.00602, allocations: 1.071 MB / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.006108, allocations: 0 / 451.4 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.11e-05/0.006179, allocations: 19.75 kB / 451.4 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.006241, allocations: 22.75 kB / 451.4 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.006434, allocations: 73.19 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.006621, allocations: 174 kB / 451.6 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.006753, allocations: 65.8 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.006913, allocations: 120.4 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.007, allocations: 55.8 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.007027, allocations: 17.88 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.234e-05/0.007089, allocations: 24 kB / 451.9 MB, free: 2.543 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.454e-05/0.007124, allocations: 27.88 kB / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.007166, allocations: 35.94 kB / 452 MB, free: 2.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.007341, allocations: 115.5 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.007351, allocations: 0.875 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007352, allocations: 0 / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.007365, allocations: 1.281 kB / 452.1 MB, free: 2.367 MB / 426.7 MB 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.000599/0.007964, allocations: 404.3 kB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.007998, allocations: 8.031 kB / 452.5 MB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.008157, allocations: 111.1 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.008353, allocations: 154 kB / 452.8 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.008374, allocations: 9.281 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.008408, allocations: 24.36 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/0.01161, allocations: 147.1 kB / 452.9 MB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.01162, allocations: 5.344 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.01164, allocations: 13.78 kB / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01164, allocations: 4 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.511e-05/0.01171, allocations: 37.39 kB / 453 MB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.01228, allocations: 333.2 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.01246, allocations: 75.22 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.01251, allocations: 37.94 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.01253, allocations: 9.453 kB / 453.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.01267, allocations: 117 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.01267, allocations: 0.625 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.000179/0.01285, allocations: 111.2 kB / 453.7 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.01288, allocations: 59.34 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.01296, allocations: 147.2 kB / 453.9 MB, free: 472 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01298, allocations: 29.7 kB / 453.9 MB, free: 436 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.01303, allocations: 112.4 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.01308, allocations: 71.41 kB / 454.1 MB, free: 248 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.01313, allocations: 45.67 kB / 454.1 MB, free: 196 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01325, allocations: 322.8 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.01331, allocations: 19.98 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.01336, allocations: 46.53 kB / 454.5 MB, free: 15.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.01346, allocations: 72.75 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01346, allocations: 3.938 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001679/0.01363, allocations: 107.5 kB / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01364, allocations: 8.781 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01364, allocations: 0.5 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01366, allocations: 3.938 kB / 454.7 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.01379, allocations: 44.66 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.01379, allocations: 8.609 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.01385, allocations: 19.88 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01386, allocations: 4.562 kB / 454.8 MB, free: 15.52 MB / 442.7 MB 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 6.956e-05/0.01393, allocations: 118.4 kB / 454.9 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.01395, allocations: 16.61 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.01409, allocations: 119.6 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.0141, allocations: 3.938 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.0141, allocations: 5.656 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0141, allocations: 3.984 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.01749, allocations: 360.5 kB / 455.4 MB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.01749, allocations: 8.984 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.0176, allocations: 35.98 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.01762, allocations: 21.91 kB / 455.4 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01763, allocations: 4 kB / 455.5 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01764, allocations: 4 kB / 455.5 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.01764, allocations: 7.938 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01765, allocations: 0.6562 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.01792, allocations: 268.1 kB / 455.7 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01794, allocations: 8 kB / 455.7 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.01803, allocations: 17.05 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.01807, allocations: 19.97 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.01808, allocations: 4 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.168e-05/0.01811, allocations: 35.41 kB / 455.8 MB, free: 14.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01811, allocations: 4 kB / 455.8 MB, free: 14.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.01833, allocations: 39.89 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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 8.572e-05/0.01842, allocations: 87.52 kB / 455.9 MB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.01856, allocations: 93.81 kB / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.01857, allocations: 4 kB / 456 MB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.01864, allocations: 62.52 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.0189, allocations: 118.3 kB / 456.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.01975, allocations: 369.2 kB / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.0198, allocations: 72.08 kB / 456.6 MB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.01986, allocations: 20.23 kB / 456.7 MB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.01996, allocations: 79.36 kB / 456.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01996, allocations: 0.8438 kB / 456.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of Templates: time 0.006571/0.02653, allocations: 1.885 MB / 458.6 MB, free: 11.64 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6549722123891115]