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.0006998/0.0006998, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008498/0.00155, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006834/0.0006834, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001729, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.9035/0.9035, allocations: 154.6 MB / 398.5 MB, free: 0.5156 MB / 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.303/1.206, allocations: 49.04 MB / 447.6 MB, free: 6.703 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 3.487e-06/3.487e-06, allocations: 3.984 kB / 448.9 MB, free: 5.352 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.585e-05, allocations: 8.703 kB / 449 MB, free: 5.344 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002435/0.002461, allocations: 1.054 MB / 450 MB, free: 4.336 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.003923, allocations: 1.064 MB / 451.1 MB, free: 3.258 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.004055, allocations: 4.625 kB / 451.1 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.794e-05/0.004143, allocations: 21.86 kB / 451.1 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.00421, allocations: 17 kB / 451.1 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.004451, allocations: 81.98 kB / 451.2 MB, free: 3.145 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.004669, allocations: 170.2 kB / 451.4 MB, free: 2.992 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.004814, allocations: 60.75 kB / 451.4 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.005008, allocations: 131.6 kB / 451.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.005101, allocations: 51.8 kB / 451.6 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.005133, allocations: 16 kB / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.54e-05/0.005208, allocations: 27.98 kB / 451.6 MB, free: 2.711 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.005242, allocations: 27.88 kB / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.00529, allocations: 35.94 kB / 451.7 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.005499, allocations: 108.8 kB / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.005516, allocations: 0 / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005517, allocations: 0 / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.005536, allocations: 0 / 451.8 MB, free: 2.543 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.000899/0.006435, allocations: 409.8 kB / 452.2 MB, free: 2.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.006472, allocations: 12.03 kB / 452.2 MB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.006639, allocations: 107.1 kB / 452.3 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006829, allocations: 154.7 kB / 452.5 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.006852, allocations: 17.91 kB / 452.5 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.006877, allocations: 12.38 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.007055, allocations: 150.5 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.007065, allocations: 192 / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.007082, allocations: 18.19 kB / 452.7 MB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.007089, allocations: 4 kB / 452.7 MB, free: 1.605 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.007145, allocations: 34.25 kB / 452.7 MB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.007632, allocations: 332.6 kB / 453 MB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.007824, allocations: 77.88 kB / 453.1 MB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.007864, allocations: 36.84 kB / 453.1 MB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.007888, allocations: 8.625 kB / 453.2 MB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.007998, allocations: 120.1 kB / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.007999, allocations: 0.6562 kB / 453.3 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001656/0.008165, allocations: 115.7 kB / 453.4 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.008196, allocations: 56.09 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.008278, allocations: 142.6 kB / 453.6 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.008302, allocations: 34.58 kB / 453.6 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.008351, allocations: 112.4 kB / 453.7 MB, free: 496 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.008388, allocations: 64.05 kB / 453.8 MB, free: 432 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.008433, allocations: 49.67 kB / 453.8 MB, free: 376 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.008525, allocations: 327.5 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.008578, allocations: 24.61 kB / 454.2 MB, free: 16 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.008632, allocations: 46.83 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.351e-05/0.008705, allocations: 71.53 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.008709, allocations: 3.938 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001122/0.008821, allocations: 111.8 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.008833, allocations: 8 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008837, allocations: 1.156 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.008847, allocations: 3.938 kB / 454.4 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.008953, allocations: 40.5 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.008958, allocations: 7.984 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.009, allocations: 17.58 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.00901, allocations: 7.984 kB / 454.5 MB, free: 15.69 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 7.553e-05/0.009086, allocations: 121.8 kB / 454.6 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.009101, allocations: 13.2 kB / 454.6 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.009243, allocations: 116.7 kB / 454.7 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.009246, allocations: 4.594 kB / 454.7 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009248, allocations: 0 / 454.7 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.009252, allocations: 5.25 kB / 454.7 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.009633, allocations: 364.5 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009636, allocations: 4.875 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.009727, allocations: 35.97 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.00974, allocations: 20.75 kB / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.009744, allocations: 0 / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.009754, allocations: 8.625 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.009759, allocations: 7.938 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00976, allocations: 4.562 kB / 455.2 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.009993, allocations: 272.1 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01001, allocations: 8.625 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.856e-05/0.01007, allocations: 8.625 kB / 455.5 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01011, allocations: 23.95 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01012, allocations: 4.625 kB / 455.5 MB, free: 14.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.537e-05/0.01014, allocations: 39.95 kB / 455.5 MB, free: 14.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01014, allocations: 0.5625 kB / 455.5 MB, free: 14.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.01029, allocations: 36.58 kB / 455.6 MB, free: 14.53 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.375e-05/0.01037, allocations: 90.12 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.0105, allocations: 84.75 kB / 455.7 MB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.01051, allocations: 0 / 455.7 MB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.01056, allocations: 54.28 kB / 455.8 MB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.01074, allocations: 37.05 kB / 455.8 MB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.0116, allocations: 375.6 kB / 456.2 MB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.01164, allocations: 72.08 kB / 456.3 MB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.47e-05/0.01169, allocations: 15.64 kB / 456.3 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.01177, allocations: 81.27 kB / 456.4 MB, free: 13.67 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01177, allocations: 0 / 456.4 MB, free: 13.67 MB / 442.7 MB Notification: Performance of Templates: time 0.003889/0.01566, allocations: 1.89 MB / 458.3 MB, free: 11.91 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.7420325875282288]