Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.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.001219/0.001219, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009807/0.0009807, allocations: 181 kB / 23.36 MB, free: 1.133 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.9404/0.9404, allocations: 177.2 MB / 203.8 MB, free: 5.492 MB / 186.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.7733/0.7733, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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. " [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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.668e-05, allocations: 2.312 kB / 480.1 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001347/0.001364, allocations: 0.673 MB / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.002577, allocations: 0.8618 MB / 481.6 MB, free: 5.344 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.002604, allocations: 5.531 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.002628, allocations: 4.594 kB / 481.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.002687, allocations: 5.406 kB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.002828, allocations: 11.98 kB / 481.6 MB, free: 5.32 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.002885, allocations: 25.67 kB / 481.6 MB, free: 5.301 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.002946, allocations: 5.25 kB / 481.6 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.003011, allocations: 16.8 kB / 481.7 MB, free: 5.281 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.19e-05/0.003043, allocations: 12.75 kB / 481.7 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.003053, allocations: 0.5469 kB / 481.7 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.003089, allocations: 9.484 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.003102, allocations: 0.5469 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.003117, allocations: 10.08 kB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.003191, allocations: 24.89 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003193, allocations: 2.094 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003194, allocations: 0 / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.504e-06/0.003196, allocations: 0 / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003094/0.003505, allocations: 231.8 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.003536, allocations: 8.031 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.916e-05/0.003615, allocations: 10.12 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.003686, allocations: 113.7 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.003695, allocations: 1.797 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.003703, allocations: 0.9844 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.034e-05/0.003794, allocations: 59.8 kB / 482.1 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003801, allocations: 1.031 kB / 482.1 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.003807, allocations: 384 / 482.1 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.003812, allocations: 2.094 kB / 482.1 MB, free: 4.762 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.003833, allocations: 8.562 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.004003, allocations: 144.3 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.004041, allocations: 23.19 kB / 482.3 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.004054, allocations: 12.36 kB / 482.3 MB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.004066, allocations: 4.609 kB / 482.3 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.004087, allocations: 38.55 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.004088, allocations: 4.625 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.821e-05/0.004186, allocations: 30.23 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.004216, allocations: 60.06 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.873e-05/0.004265, allocations: 103.7 kB / 482.6 MB, free: 4.281 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.004275, allocations: 27.48 kB / 482.6 MB, free: 4.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.0043, allocations: 80.14 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.00432, allocations: 11.94 kB / 482.7 MB, free: 4.156 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.004346, allocations: 9.719 kB / 482.7 MB, free: 4.141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.00446, allocations: 322.8 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.004489, allocations: 4.656 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.004498, allocations: 0.875 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.004521, allocations: 12.86 kB / 483 MB, free: 3.797 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004523, allocations: 1.391 kB / 483 MB, free: 3.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.849e-05/0.004572, allocations: 34.31 kB / 483.1 MB, free: 3.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.004583, allocations: 8 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.004586, allocations: 0.6875 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.004598, allocations: 1.219 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.004654, allocations: 7.938 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.004656, allocations: 0 / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.004676, allocations: 9.594 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.00468, allocations: 3.938 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.814e-05/0.004729, allocations: 109.8 kB / 483.2 MB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.004748, allocations: 5.156 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.004805, allocations: 41.72 kB / 483.2 MB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004807, allocations: 3.172 kB / 483.2 MB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.004809, allocations: 3.938 kB / 483.2 MB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.004813, allocations: 4 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.703e-05/0.00491, allocations: 70.5 kB / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00491, allocations: 0 / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.004931, allocations: 5.188 kB / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004932, allocations: 0 / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.004936, allocations: 0 / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004937, allocations: 0.8438 kB / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.004938, allocations: 0 / 483.3 MB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.038e-05/0.005008, allocations: 148.6 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.005013, allocations: 3.953 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-06/0.005021, allocations: 0 / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.005066, allocations: 9.547 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.00509, allocations: 4 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005092, allocations: 0.5938 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.176e-05/0.005104, allocations: 16.73 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005104, allocations: 1.438 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.005281, allocations: 4 kB / 483.5 MB, free: 3.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 6.791e-05/0.005349, allocations: 78.36 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.806e-05/0.005397, allocations: 18.02 kB / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.0054, allocations: 0 / 483.6 MB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.005413, allocations: 8.859 kB / 483.6 MB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.005559, allocations: 9.031 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.005898, allocations: 112.1 kB / 483.7 MB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.155e-05/0.005929, allocations: 55.36 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.489e-05/0.005944, allocations: 1.094 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.005983, allocations: 51.38 kB / 483.8 MB, free: 2.891 MB / 442.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005983, allocations: 2.312 kB / 483.8 MB, free: 2.891 MB / 442.7 MB Notification: Performance of Templates: time 0.001904/0.007887, allocations: 449 kB / 484.3 MB, free: 2.473 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.49091379577294]