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.001383/0.001383, allocations: 80.53 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001583/0.001583, allocations: 162.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 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-531:686: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-531:694: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.195/1.195, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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.916e-06/2.916e-06, allocations: 0 / 0.6186 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.284e-05/3.576e-05, allocations: 7.297 kB / 0.6186 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001982/0.002018, allocations: 0.6565 MB / 0.6193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003351, allocations: 0.847 MB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.003393, allocations: 0 / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.494e-05/0.003418, allocations: 0 / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.866e-05/0.003497, allocations: 3.938 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.003698, allocations: 11.94 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.003781, allocations: 31.91 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003882, allocations: 7.984 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.003958, allocations: 8 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.004005, allocations: 11.98 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.004021, allocations: 0 / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.004068, allocations: 7.938 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.004088, allocations: 8 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.004114, allocations: 3.984 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.004241, allocations: 31.89 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004243, allocations: 0 / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004244, allocations: 0 / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004248, allocations: 4 kB / 0.6202 GB, free: 2.859 MB / 0.5294 GB 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.0004825/0.004731, allocations: 266.3 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.004772, allocations: 8.031 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.004869, allocations: 8.891 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.004989, allocations: 113.7 kB / 0.6206 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.005005, allocations: 4.312 kB / 0.6206 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.005013, allocations: 4.375 kB / 0.6206 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.005209, allocations: 50.23 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.005219, allocations: 4.188 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.005228, allocations: 384 / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005234, allocations: 384 / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.005418, allocations: 35.91 kB / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.005765, allocations: 192.6 kB / 0.6209 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.005909, allocations: 38.5 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.123e-05/0.006, allocations: 16.91 kB / 0.6209 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.006023, allocations: 4 kB / 0.6209 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.006057, allocations: 38.56 kB / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.006058, allocations: 0 / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.006436, allocations: 77.58 kB / 0.6211 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.006487, allocations: 55.41 kB / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.006577, allocations: 105.8 kB / 0.6212 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.006594, allocations: 25.7 kB / 0.6212 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.006647, allocations: 80.27 kB / 0.6213 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.006673, allocations: 15.95 kB / 0.6213 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.006707, allocations: 9.719 kB / 0.6213 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.006848, allocations: 318.8 kB / 0.6216 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.006948, allocations: 19.92 kB / 0.6217 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.007028, allocations: 11.98 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.007215, allocations: 40.81 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007217, allocations: 4.062 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002186/0.007435, allocations: 69.62 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.007455, allocations: 6.031 kB / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.007464, allocations: 7.875 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.007481, allocations: 0 / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.007581, allocations: 11.98 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.007588, allocations: 3.984 kB / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.007643, allocations: 8.016 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007648, allocations: 4 kB / 0.6218 GB, free: 1.059 MB / 0.5294 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 8.866e-05/0.007737, allocations: 111.7 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.007762, allocations: 0 / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.008022, allocations: 76.84 kB / 0.622 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008026, allocations: 192 / 0.622 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.00803, allocations: 4 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.008035, allocations: 3.984 kB / 0.622 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.008178, allocations: 109.3 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00818, allocations: 4.031 kB / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.008242, allocations: 7.984 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008245, allocations: 0 / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008253, allocations: 7.938 kB / 0.6221 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.00826, allocations: 3.938 kB / 0.6221 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00826, allocations: 0 / 0.6221 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.008535, allocations: 155.5 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.008545, allocations: 3.953 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.008561, allocations: 8.031 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.008643, allocations: 11.92 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.008684, allocations: 4 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.008688, allocations: 0 / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.008741, allocations: 83.27 kB / 0.6224 GB, free: 424 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.008741, allocations: 0 / 0.6224 GB, free: 424 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002267/0.008967, allocations: 4 kB / 0.6224 GB, free: 420 kB / 0.5294 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.0001454/0.009113, allocations: 95.25 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.009348, allocations: 43.91 kB / 0.6225 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.00935, allocations: 0 / 0.6225 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.009443, allocations: 19.97 kB / 0.6225 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.009762, allocations: 4 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.01012, allocations: 108.8 kB / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.01019, allocations: 71.39 kB / 0.6227 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.01022, allocations: 4 kB / 0.6227 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.01025, allocations: 12.5 kB / 0.6227 GB, free: 0 / 0.5294 GB Notification: Performance of SimCode: time 5e-07/0.01025, allocations: 0 / 0.6227 GB, free: 0 / 0.5294 GB Notification: Performance of Templates: time 0.00324/0.01349, allocations: 463.5 kB / 0.6232 GB, free: 15.56 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6446962878108025] Failed to read output from testmodel.py, exit status != 0: 0.023168418556451797 0.039100659 0.031510593 Calling exit ...