Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.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.001819/0.001819, allocations: 93.47 kB / 19.44 MB, free: 336 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.001989/0.001989, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.588/1.588, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.297/1.297, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5197 GB, free: 2.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.551e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002082/0.002107, allocations: 0.6816 MB / 0.5204 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003406, allocations: 0.8706 MB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.187e-05/0.003448, allocations: 5.25 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.003477, allocations: 3.938 kB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.003559, allocations: 11.88 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.003743, allocations: 16.78 kB / 0.5212 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.003842, allocations: 47.86 kB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.003935, allocations: 1.281 kB / 0.5213 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.004034, allocations: 31.95 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.55e-05/0.00408, allocations: 19.92 kB / 0.5213 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.00411, allocations: 5.344 kB / 0.5213 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.004157, allocations: 7.938 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.004179, allocations: 11.98 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.004208, allocations: 11.94 kB / 0.5214 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.004343, allocations: 52.62 kB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.004346, allocations: 0 / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004347, allocations: 1.844 kB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.004351, allocations: 0 / 0.5214 GB, free: 0.6992 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000565/0.004916, allocations: 380.2 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.004956, allocations: 8.031 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.005081, allocations: 10.95 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.005217, allocations: 120.5 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005232, allocations: 4.375 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.00524, allocations: 384 / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.005436, allocations: 58.23 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.005444, allocations: 1.656 kB / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005454, allocations: 384 / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.005458, allocations: 384 / 0.522 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.005651, allocations: 52.81 kB / 0.522 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.00609, allocations: 267.8 kB / 0.5223 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.006254, allocations: 48.02 kB / 0.5223 GB, free: 15.66 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.006363, allocations: 32.58 kB / 0.5224 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.006389, allocations: 4 kB / 0.5224 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.00643, allocations: 41.81 kB / 0.5224 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.006431, allocations: 0.875 kB / 0.5224 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 0.0004086/0.006839, allocations: 94.81 kB / 0.5225 GB, free: 15.47 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.006888, allocations: 55.41 kB / 0.5226 GB, free: 15.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.007054, allocations: 173.9 kB / 0.5227 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.007076, allocations: 26.2 kB / 0.5227 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.007168, allocations: 140.6 kB / 0.5229 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.007189, allocations: 7.953 kB / 0.5229 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.007235, allocations: 19.38 kB / 0.5229 GB, free: 15.01 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.007502, allocations: 496.1 kB / 0.5234 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.007603, allocations: 25.7 kB / 0.5234 GB, free: 14.49 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.007687, allocations: 23.97 kB / 0.5234 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.007863, allocations: 51.59 kB / 0.5235 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.007865, allocations: 1.531 kB / 0.5235 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002361/0.008101, allocations: 77.62 kB / 0.5236 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.008116, allocations: 8.688 kB / 0.5236 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.00812, allocations: 0 / 0.5236 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.008137, allocations: 4.844 kB / 0.5236 GB, free: 14.32 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.008238, allocations: 11.98 kB / 0.5236 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008242, allocations: 1.125 kB / 0.5236 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.008293, allocations: 7.938 kB / 0.5236 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.008306, allocations: 3.984 kB / 0.5236 GB, free: 14.29 MB / 0.4949 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 (3): * Single equations (assignments): 3 * 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.0001247/0.00843, allocations: 163.5 kB / 0.5237 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.008455, allocations: 4.266 kB / 0.5237 GB, free: 14.12 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.00873, allocations: 89.58 kB / 0.5238 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008732, allocations: 0 / 0.5238 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.008735, allocations: 0 / 0.5238 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.008737, allocations: 0 / 0.5238 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.008928, allocations: 131.4 kB / 0.524 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008929, allocations: 0 / 0.524 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.009, allocations: 11.98 kB / 0.524 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.009001, allocations: 0 / 0.524 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.009008, allocations: 3.938 kB / 0.524 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.009012, allocations: 3.938 kB / 0.524 GB, free: 13.85 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009013, allocations: 4 kB / 0.524 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.009339, allocations: 228.6 kB / 0.5242 GB, free: 13.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.009346, allocations: 1.062 kB / 0.5242 GB, free: 13.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.009362, allocations: 4 kB / 0.5242 GB, free: 13.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.009442, allocations: 13.33 kB / 0.5242 GB, free: 13.59 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.009481, allocations: 4 kB / 0.5242 GB, free: 13.58 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.009485, allocations: 0 / 0.5242 GB, free: 13.58 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 9.145e-05/0.009577, allocations: 139.5 kB / 0.5244 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.009577, allocations: 1.438 kB / 0.5244 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002196/0.009796, allocations: 8 kB / 0.5244 GB, free: 13.44 MB / 0.4949 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 (3): * Single equations (assignments): 3 * 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.0001409/0.009937, allocations: 91.78 kB / 0.5245 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.01019, allocations: 60.14 kB / 0.5245 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01019, allocations: 0.75 kB / 0.5245 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.0103, allocations: 33.23 kB / 0.5245 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01056, allocations: 11.94 kB / 0.5246 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.01093, allocations: 140.6 kB / 0.5247 GB, free: 13.06 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.973e-05/0.01101, allocations: 67.3 kB / 0.5248 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.01105, allocations: 7.859 kB / 0.5248 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.01109, allocations: 12.5 kB / 0.5248 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of SimCode: time 4.21e-07/0.01109, allocations: 2.688 kB / 0.5248 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of Templates: time 0.003676/0.01476, allocations: 0.7337 MB / 0.5255 GB, free: 12.26 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.04241048602853]