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.002456/0.002456, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002923/0.002923, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.386/1.386, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 178] 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 2.905e-06/2.905e-06, allocations: 0 / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.965e-05/4.256e-05, allocations: 2.969 kB / 0.5197 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00278/0.002822, allocations: 0.6535 MB / 0.5203 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004402, allocations: 0.8477 MB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.004438, allocations: 0.5625 kB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.004462, allocations: 0 / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.004536, allocations: 0.9688 kB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.004747, allocations: 19.86 kB / 0.5212 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.004839, allocations: 25.39 kB / 0.5212 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.004934, allocations: 4 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.895e-05/0.005033, allocations: 11.98 kB / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.005078, allocations: 11.98 kB / 0.5212 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.005094, allocations: 0.75 kB / 0.5212 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.005153, allocations: 11.92 kB / 0.5212 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.00517, allocations: 4.5 kB / 0.5212 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.005197, allocations: 9.969 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.005339, allocations: 27.95 kB / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005343, allocations: 0 / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.005345, allocations: 0 / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00535, allocations: 0 / 0.5213 GB, free: 0.8438 MB / 490.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.0005746/0.005924, allocations: 356.8 kB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.005974, allocations: 8.031 kB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.00611, allocations: 9.609 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.006268, allocations: 116.5 kB / 0.5217 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.006282, allocations: 0.9375 kB / 0.5217 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.006291, allocations: 1.812 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.006468, allocations: 46.25 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.006477, allocations: 192 / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006487, allocations: 384 / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.006492, allocations: 5.094 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.006639, allocations: 24.83 kB / 0.5218 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.007098, allocations: 247.8 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.007248, allocations: 46 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.007336, allocations: 19.73 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.00736, allocations: 0 / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.007405, allocations: 37.39 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.007406, allocations: 0 / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.007763, allocations: 70.19 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.007825, allocations: 59.34 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.00798, allocations: 163.7 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.008002, allocations: 25.7 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.008122, allocations: 138.9 kB / 0.5226 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.008143, allocations: 3.953 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.008193, allocations: 15.38 kB / 0.5226 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002991/0.008492, allocations: 0.4893 MB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.008562, allocations: 11.98 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.008618, allocations: 8.781 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.008746, allocations: 32.61 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.008752, allocations: 5.219 kB / 0.5231 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.008938, allocations: 57.61 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.008957, allocations: 8.625 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.008964, allocations: 3.938 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.008979, allocations: 0.6562 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.009074, allocations: 4.562 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.009079, allocations: 0 / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.009129, allocations: 14.92 kB / 0.5232 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.009135, allocations: 0 / 0.5232 GB, free: 14.65 MB / 0.4948 GB 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 0.0003739/0.009509, allocations: 152.6 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.009549, allocations: 8 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.009764, allocations: 60.92 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009766, allocations: 0 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.00977, allocations: 3.125 kB / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.009772, allocations: 192 / 0.5234 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.00999, allocations: 120.6 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009991, allocations: 0 / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.01004, allocations: 11.88 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.01005, allocations: 3.984 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.01006, allocations: 0 / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.01007, allocations: 3.938 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01007, allocations: 1.812 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.01037, allocations: 207.9 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.01038, allocations: 4 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.01039, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.01048, allocations: 9.812 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.01052, allocations: 3.984 kB / 0.5238 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.01053, allocations: 0 / 0.5238 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.024e-05/0.01062, allocations: 127.2 kB / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01062, allocations: 0 / 0.5239 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003324/0.01095, allocations: 6.75 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB 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 0.0001585/0.01111, allocations: 95.19 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01131, allocations: 35.66 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01132, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.01139, allocations: 18.09 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.01173, allocations: 8 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.01211, allocations: 122.3 kB / 0.5242 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.06e-05/0.01219, allocations: 64.22 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.601e-05/0.01222, allocations: 3.938 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.01225, allocations: 10 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01225, allocations: 0 / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003712/0.01596, allocations: 492.2 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB " [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: 6.194311553961597]