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.0009717/0.0009717, 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.000953/0.000953, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9122/0.9122, 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 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.7688/0.7688, allocations: 154.6 MB / 414.5 MB, free: 0.6836 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 3.336e-06/3.336e-06, allocations: 4.984 kB / 0.5204 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.427e-05, allocations: 7.797 kB / 0.5204 GB, free: 2.148 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001243/0.001268, allocations: 0.6539 MB / 0.521 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.002101, allocations: 0.8611 MB / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.002143, allocations: 0.5312 kB / 0.5219 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.002186, allocations: 3.938 kB / 0.5219 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.002258, allocations: 6.203 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.00245, allocations: 19.8 kB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.002524, allocations: 28.67 kB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.002614, allocations: 3.984 kB / 0.5219 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.002695, allocations: 16.62 kB / 0.5219 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.00273, allocations: 3.984 kB / 0.5219 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002746, allocations: 4.688 kB / 0.522 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.002792, allocations: 5.125 kB / 0.522 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.002808, allocations: 7.938 kB / 0.522 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.002828, allocations: 11.97 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.002925, allocations: 17.8 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.002928, allocations: 0 / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002928, allocations: 0 / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.002933, allocations: 0 / 0.522 GB, free: 0.5234 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.0003651/0.003298, allocations: 356.6 kB / 0.5223 GB, free: 140 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.003336, allocations: 13.72 kB / 0.5223 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.003441, allocations: 8.875 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.003543, allocations: 112.6 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.003555, allocations: 384 / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.003566, allocations: 8.312 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.003695, allocations: 51.7 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.003705, allocations: 5.594 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.003715, allocations: 384 / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.003723, allocations: 4.312 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.003751, allocations: 7.938 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.004038, allocations: 249.2 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.004097, allocations: 31 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.004117, allocations: 7.688 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.004134, allocations: 1.875 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.004158, allocations: 37.45 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.004159, allocations: 0 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.004322, allocations: 49.58 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.004352, allocations: 53.53 kB / 0.5229 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.004429, allocations: 165.9 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.004438, allocations: 29.7 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.004477, allocations: 126.9 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.004496, allocations: 7.891 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.004523, allocations: 23.38 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.004638, allocations: 492.6 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.004654, allocations: 0.5312 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.004664, allocations: 8.984 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.004692, allocations: 11.69 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.004694, allocations: 0.6875 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.769e-05/0.004752, allocations: 42.89 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.004767, allocations: 4 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.004773, allocations: 11.88 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.004786, allocations: 0.9688 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.004868, allocations: 7.984 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.004874, allocations: 1.531 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.004894, allocations: 4 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.0049, allocations: 0 / 0.5238 GB, free: 14.43 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 6.805e-05/0.004968, allocations: 152.6 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.004984, allocations: 9.031 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.005082, allocations: 44.53 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.005086, allocations: 4.688 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.00509, allocations: 0 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005092, allocations: 1.281 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.005183, allocations: 124.6 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.005184, allocations: 0 / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.005209, allocations: 8.656 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005211, allocations: 4.125 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.00522, allocations: 4.859 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.005222, allocations: 3.938 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.005225, allocations: 7.25 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.158e-05/0.005316, allocations: 183.9 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.005322, allocations: 0 / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.005333, allocations: 7.984 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/0.005363, allocations: 3.938 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.005405, allocations: 4 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005409, allocations: 0 / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.005446, allocations: 127.2 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005446, allocations: 7.031 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000139/0.005585, allocations: 0 / 0.5245 GB, free: 13.69 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.0001003/0.005686, allocations: 95.25 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.952e-05/0.005785, allocations: 15.62 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.005787, allocations: 0 / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.005802, allocations: 11.69 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.005991, allocations: 15.73 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.006388, allocations: 129.6 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.006422, allocations: 51.36 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.006435, allocations: 0 / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.00646, allocations: 16.44 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.006461, allocations: 0 / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.0019/0.008361, allocations: 0.4949 MB / 0.5253 GB, free: 12.84 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.526072984095663]