Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007621/0.0007621, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009843/0.0009843, allocations: 165 kB / 23.02 MB, free: 1.551 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.973/0.973, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8175/0.8175, allocations: 154.8 MB / 414.7 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.593e-05, allocations: 5.25 kB / 0.5206 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001095/0.001111, allocations: 0.669 MB / 0.5213 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007481/0.001859, allocations: 0.8649 MB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.001884, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.001906, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.001956, allocations: 4 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.002099, allocations: 26.22 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.002152, allocations: 23.92 kB / 0.5222 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/0.002219, allocations: 4 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.002272, allocations: 19.92 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.654e-05/0.002298, allocations: 3.984 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.002312, allocations: 4 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.002347, allocations: 4.562 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.002359, allocations: 4.562 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.002376, allocations: 11.98 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.978e-05/0.002456, allocations: 16.8 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002458, allocations: 0 / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002458, allocations: 1.531 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.002461, allocations: 0 / 0.5222 GB, free: 264 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.0002786/0.00274, allocations: 360.6 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.002772, allocations: 12.03 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.347e-05/0.002845, allocations: 9.828 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.4e-05/0.002909, allocations: 104.6 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.002916, allocations: 5.812 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.002925, allocations: 4.375 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.008e-05/0.003015, allocations: 58.94 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.003022, allocations: 192 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.003029, allocations: 1.438 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.003035, allocations: 384 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.003061, allocations: 7.938 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/0.003286, allocations: 244.5 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.003329, allocations: 36.31 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.003345, allocations: 7.688 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.003361, allocations: 4.062 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.003381, allocations: 33.95 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003381, allocations: 0 / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001139/0.003495, allocations: 46.62 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.00352, allocations: 59.33 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.003581, allocations: 162.4 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.003591, allocations: 26.33 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.003629, allocations: 126.9 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.003642, allocations: 9.922 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.003666, allocations: 27.36 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.003777, allocations: 492.1 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.003787, allocations: 4 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.003795, allocations: 0 / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.003817, allocations: 17 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.003818, allocations: 3.938 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.087e-05/0.003859, allocations: 44.88 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.003871, allocations: 8 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.003875, allocations: 3.938 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.003884, allocations: 0 / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.003937, allocations: 8.188 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.003941, allocations: 0 / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.003957, allocations: 7.984 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.003961, allocations: 0 / 0.5241 GB, free: 14.16 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.678e-05/0.004018, allocations: 159.6 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.004032, allocations: 7.984 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.004109, allocations: 44.94 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00411, allocations: 4 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.004113, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.004115, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.201e-05/0.004197, allocations: 116.6 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.004198, allocations: 1.5 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.00422, allocations: 7.938 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004221, allocations: 0 / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.004227, allocations: 0 / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004228, allocations: 4.438 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004229, allocations: 4 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.944e-05/0.004308, allocations: 185 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.004313, allocations: 4 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.004321, allocations: 1.094 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.826e-05/0.00435, allocations: 3.938 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.004384, allocations: 11.98 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.004386, allocations: 0.625 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.109e-05/0.004417, allocations: 123.7 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004417, allocations: 0 / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001297/0.004547, allocations: 6.438 kB / 0.5247 GB, free: 13.43 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.952e-05/0.004606, allocations: 95.19 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.617e-05/0.004662, allocations: 15.67 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.004664, allocations: 0 / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.604e-05/0.00468, allocations: 18.12 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.004833, allocations: 4 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.005198, allocations: 140 kB / 0.525 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.005228, allocations: 55.3 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.149e-05/0.005239, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.005262, allocations: 12.5 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.005262, allocations: 1.031 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.001672/0.006934, allocations: 473.3 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.841504003852606]