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.001276/0.001276, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001612/0.001612, allocations: 169 kB / 23.28 MB, free: 1.223 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.9216/0.9216, allocations: 177.2 MB / 203.7 MB, free: 5.523 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.7451/0.7451, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.352e-06/1.352e-06, allocations: 0 / 0.5208 GB, free: 1.809 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.532e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.805 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001055/0.00107, allocations: 0.6614 MB / 0.5215 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.001808, allocations: 0.8653 MB / 0.5223 GB, free: 300 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.001833, allocations: 0 / 0.5223 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.001851, allocations: 0.5 kB / 0.5223 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.001898, allocations: 9.078 kB / 0.5223 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.002016, allocations: 15.86 kB / 0.5223 GB, free: 276 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.739e-05/0.002064, allocations: 27.92 kB / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.002119, allocations: 1.125 kB / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.002174, allocations: 15.97 kB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.86e-05/0.002202, allocations: 11.94 kB / 0.5224 GB, free: 220 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.002212, allocations: 4.562 kB / 0.5224 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.5e-05/0.002247, allocations: 5.719 kB / 0.5224 GB, free: 212 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.002259, allocations: 3.984 kB / 0.5224 GB, free: 208 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.002272, allocations: 8 kB / 0.5224 GB, free: 200 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.516e-05/0.002337, allocations: 11.98 kB / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002338, allocations: 0 / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002339, allocations: 1.812 kB / 0.5224 GB, free: 188 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.274e-06/0.002341, allocations: 0 / 0.5224 GB, free: 188 kB / 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.0002477/0.002589, allocations: 368.5 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.002619, allocations: 12.03 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.002681, allocations: 6.578 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.228e-05/0.002733, allocations: 112.6 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.00274, allocations: 384 / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.002747, allocations: 4.375 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.457e-05/0.002821, allocations: 51.7 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-06/0.002826, allocations: 192 / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.00283, allocations: 4.375 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.002833, allocations: 1.781 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.657e-05/0.00285, allocations: 7.922 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.003015, allocations: 228.4 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.504e-05/0.003051, allocations: 32.34 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.143e-05/0.003062, allocations: 11.75 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.003076, allocations: 1.375 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.003092, allocations: 37.42 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003093, allocations: 0 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 9.078e-05/0.003184, allocations: 56.16 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.003204, allocations: 51.41 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.003254, allocations: 157.9 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.003262, allocations: 25.7 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.003294, allocations: 130.9 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.003308, allocations: 11.89 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.003329, allocations: 19.38 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.003419, allocations: 492.7 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.003429, allocations: 11.98 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.003435, allocations: 0.9688 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.961e-05/0.003455, allocations: 13.25 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.003456, allocations: 0 / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.593e-05/0.003492, allocations: 37.64 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.003502, allocations: 9.406 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.003505, allocations: 1.125 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.003513, allocations: 3.938 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.003558, allocations: 11.23 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.00356, allocations: 0 / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.003574, allocations: 7.984 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.003579, allocations: 7.938 kB / 0.5243 GB, free: 14.11 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 5.026e-05/0.003629, allocations: 152.6 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.003642, allocations: 4 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.003698, allocations: 44.59 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.003701, allocations: 10.78 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.003703, allocations: 0 / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.003705, allocations: 3.938 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.915e-05/0.003784, allocations: 105.2 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.003785, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.003801, allocations: 4 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.003802, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-06/0.003806, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.003806, allocations: 1.5 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.003808, allocations: 3.984 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.982e-05/0.003878, allocations: 183.9 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.003882, allocations: 4.5 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.003889, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.003917, allocations: 10.17 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.003938, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.00394, allocations: 3.938 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.003966, allocations: 123.2 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003966, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001262/0.004093, allocations: 7.938 kB / 0.5249 GB, free: 13.41 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 5.368e-05/0.004146, allocations: 97.67 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.259e-05/0.004189, allocations: 15.69 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.42e-07/0.00419, allocations: 0 / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.004202, allocations: 13.75 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.004349, allocations: 7.984 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.004628, allocations: 127.3 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.63e-05/0.004655, allocations: 59.3 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.222e-05/0.004667, allocations: 0.9375 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.004704, allocations: 78.19 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.004705, allocations: 0 / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.001508/0.006213, allocations: 0.5008 MB / 0.5258 GB, free: 12.48 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: 3.3022089549340308]