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.0007198/0.0007198, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007382/0.0007382, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8534/0.8534, allocations: 177.2 MB / 203.6 MB, free: 5.77 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-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 0.6957/0.6957, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000895/0.000895, allocations: 67.91 kB / 0.6196 GB, free: 11.97 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4396, allocations: 102 MB / 0.7192 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001349/0.441, allocations: 0.6533 MB / 0.7198 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.4417, allocations: 0.8422 MB / 0.7206 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.4417, allocations: 3.938 kB / 0.7206 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.4417, allocations: 0 / 0.7206 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.4418, allocations: 7.938 kB / 0.7206 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.442, allocations: 15.97 kB / 0.7207 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.442, allocations: 23.92 kB / 0.7207 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.4421, allocations: 8 kB / 0.7207 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.4422, allocations: 15.92 kB / 0.7207 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.345e-05/0.4422, allocations: 4 kB / 0.7207 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.4422, allocations: 0 / 0.7207 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.4423, allocations: 10.25 kB / 0.7207 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.4423, allocations: 15.91 kB / 0.7207 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.4423, allocations: 8 kB / 0.7207 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.4424, allocations: 23.91 kB / 0.7208 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4424, allocations: 8 kB / 0.7208 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4424, allocations: 0 / 0.7208 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4424, allocations: 0 / 0.7208 GB, free: 12.02 MB / 0.6042 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.0003284/0.4427, allocations: 262.3 kB / 0.721 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4428, allocations: 8.031 kB / 0.721 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.641e-05/0.4428, allocations: 12.92 kB / 0.721 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.405e-05/0.4429, allocations: 110.4 kB / 0.7211 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4429, allocations: 8.312 kB / 0.7212 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.4429, allocations: 384 / 0.7212 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4431, allocations: 54.23 kB / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4431, allocations: 192 / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4431, allocations: 3.938 kB / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4431, allocations: 0 / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.802e-05/0.4432, allocations: 31.97 kB / 0.7212 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.4434, allocations: 192.6 kB / 0.7214 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/0.4435, allocations: 38.5 kB / 0.7215 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.4436, allocations: 20.91 kB / 0.7215 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4436, allocations: 7.922 kB / 0.7215 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.4436, allocations: 34.56 kB / 0.7215 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.4436, allocations: 3.984 kB / 0.7215 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002215/0.4438, allocations: 85.58 kB / 0.7216 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.4438, allocations: 51.41 kB / 0.7217 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.4439, allocations: 101.8 kB / 0.7218 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.4439, allocations: 29.83 kB / 0.7218 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.4439, allocations: 80.14 kB / 0.7219 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.4439, allocations: 11.89 kB / 0.7219 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.444, allocations: 17.7 kB / 0.7219 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.09e-05/0.444, allocations: 314.8 kB / 0.7222 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.4441, allocations: 15.98 kB / 0.7222 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.4441, allocations: 11.98 kB / 0.7222 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.4442, allocations: 44.88 kB / 0.7223 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4442, allocations: 0 / 0.7223 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.4443, allocations: 77.48 kB / 0.7223 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.4443, allocations: 4 kB / 0.7223 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4443, allocations: 0 / 0.7223 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4443, allocations: 0 / 0.7223 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.4444, allocations: 12 kB / 0.7223 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4444, allocations: 4.031 kB / 0.7224 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.4444, allocations: 7.984 kB / 0.7224 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4444, allocations: 0 / 0.7224 GB, free: 10.22 MB / 0.6042 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 4.826e-05/0.4445, allocations: 110.8 kB / 0.7225 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.4445, allocations: 3.938 kB / 0.7225 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.4446, allocations: 76.91 kB / 0.7225 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4446, allocations: 7.938 kB / 0.7225 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4446, allocations: 4 kB / 0.7226 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4446, allocations: 4.031 kB / 0.7226 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.762e-05/0.4447, allocations: 101.3 kB / 0.7227 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4447, allocations: 0 / 0.7227 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.4447, allocations: 11.98 kB / 0.7227 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4447, allocations: 11.88 kB / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-06/0.4447, allocations: 0 / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.4447, allocations: 0 / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4447, allocations: 0 / 0.7227 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.4449, allocations: 159.5 kB / 0.7228 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.4449, allocations: 7.891 kB / 0.7228 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.4449, allocations: 4 kB / 0.7228 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.757e-05/0.4449, allocations: 11.98 kB / 0.7229 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.4449, allocations: 0 / 0.7229 GB, free: 9.656 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4449, allocations: 7.922 kB / 0.7229 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.483e-05/0.445, allocations: 79.28 kB / 0.7229 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.445, allocations: 3.938 kB / 0.7229 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001409/0.4451, allocations: 4 kB / 0.7229 GB, free: 9.562 MB / 0.6042 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 8.523e-05/0.4452, allocations: 95.28 kB / 0.723 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.4453, allocations: 39.95 kB / 0.7231 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.4453, allocations: 0 / 0.7231 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.4454, allocations: 15.98 kB / 0.7231 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.4455, allocations: 6.344 kB / 0.7231 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.4458, allocations: 147.7 kB / 0.7232 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.99e-05/0.4458, allocations: 63.47 kB / 0.7233 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.4458, allocations: 8.5 kB / 0.7233 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.4458, allocations: 0 / 0.7233 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of Templates: time 0.001548/0.4474, allocations: 0.548 MB / 0.7238 GB, free: 8.578 MB / 0.6042 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.185371754923835] Failed to read output from testmodel.py, exit status != 0: 0.4523216600064188 0.460428172 0.0163616 Calling exit ...