Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001285/0.001285, allocations: 99.64 kB / 18.95 MB, free: 2.668 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: 215.3 kB / 22.25 MB, free: 5.262 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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.262/1.262, allocations: 203.5 MB / 0.5038 GB, free: 4.941 MB / 414.1 MB " [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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [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.002133/0.002133, allocations: 71.91 kB / 0.7183 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.7003, allocations: 102 MB / 0.8179 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002372/0.7027, allocations: 0.7851 MB / 0.8187 GB, free: 28.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.7039, allocations: 0.9059 MB / 0.8195 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.704, allocations: 6.625 kB / 0.8196 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.7042, allocations: 14.16 kB / 0.8196 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.7042, allocations: 18.81 kB / 0.8196 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.7045, allocations: 28.47 kB / 0.8196 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.7046, allocations: 78.94 kB / 0.8197 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.7048, allocations: 18.83 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.7049, allocations: 38.94 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.705, allocations: 29.77 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.7051, allocations: 6.062 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.7051, allocations: 11.94 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.7051, allocations: 11.56 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.7052, allocations: 28.95 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.7054, allocations: 76.59 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.7054, allocations: 1.281 kB / 0.8199 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.925e-06/0.7054, allocations: 4.5 kB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.7054, allocations: 0.6094 kB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007418/0.7062, allocations: 320.4 kB / 0.8202 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.7062, allocations: 9.594 kB / 0.8202 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.7065, allocations: 19.5 kB / 0.8202 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.7068, allocations: 147.6 kB / 0.8204 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.7068, allocations: 3.156 kB / 0.8204 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.7069, allocations: 7.656 kB / 0.8204 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.7071, allocations: 60.2 kB / 0.8204 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7071, allocations: 0.75 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.7071, allocations: 4.844 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.7071, allocations: 2.094 kB / 0.8205 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.7072, allocations: 34.64 kB / 0.8205 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.7077, allocations: 254.7 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.7079, allocations: 48.42 kB / 0.8208 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.7079, allocations: 19.56 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.7079, allocations: 0 / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.708, allocations: 35.75 kB / 0.8208 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.708, allocations: 4.719 kB / 0.8208 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0002673/0.7082, allocations: 67.36 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.7083, allocations: 51.91 kB / 0.8209 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.7084, allocations: 148.7 kB / 0.8211 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.7084, allocations: 26.64 kB / 0.8211 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.7084, allocations: 97.66 kB / 0.8212 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.7085, allocations: 13.95 kB / 0.8212 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.7085, allocations: 19.23 kB / 0.8212 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.7086, allocations: 325.4 kB / 0.8216 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.7086, allocations: 14.89 kB / 0.8216 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.877e-05/0.7087, allocations: 15.03 kB / 0.8216 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.7088, allocations: 26.72 kB / 0.8216 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7088, allocations: 2.75 kB / 0.8216 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001555/0.7089, allocations: 69.42 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7089, allocations: 6.219 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7089, allocations: 1.156 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.709, allocations: 1.578 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.709, allocations: 12.11 kB / 0.8217 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.709, allocations: 9.781 kB / 0.8217 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.7091, allocations: 9.875 kB / 0.8217 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.7091, allocations: 4.797 kB / 0.8217 GB, free: 26.18 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.084e-05/0.7092, allocations: 120.4 kB / 0.8218 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.7092, allocations: 7.266 kB / 0.8218 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.7093, allocations: 11.38 kB / 0.8219 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7093, allocations: 1.156 kB / 0.8219 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7093, allocations: 0 / 0.8219 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7093, allocations: 1.844 kB / 0.8219 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.7094, allocations: 126.8 kB / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7094, allocations: 0.8438 kB / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.044e-05/0.7094, allocations: 4.922 kB / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7094, allocations: 1.312 kB / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.7095, allocations: 0.5156 kB / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7095, allocations: 0 / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.7095, allocations: 1.844 kB / 0.822 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.7096, allocations: 163.7 kB / 0.8221 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.7096, allocations: 6.953 kB / 0.8221 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.7096, allocations: 1.859 kB / 0.8221 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7098, allocations: 17.5 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.7098, allocations: 7.453 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.7098, allocations: 1.609 kB / 0.8222 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.7099, allocations: 105.6 kB / 0.8223 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7099, allocations: 0 / 0.8223 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002216/0.7101, allocations: 7.281 kB / 0.8223 GB, free: 25.66 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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.0001122/0.7102, allocations: 94.42 kB / 0.8224 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.7104, allocations: 33.53 kB / 0.8224 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7104, allocations: 7.938 kB / 0.8224 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.7104, allocations: 16.62 kB / 0.8224 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.7107, allocations: 17.86 kB / 0.8224 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.7111, allocations: 170.1 kB / 0.8226 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.711e-05/0.7111, allocations: 77.03 kB / 0.8227 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.7112, allocations: 8.484 kB / 0.8227 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.7112, allocations: 15.89 kB / 0.8227 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.7112, allocations: 0 / 0.8227 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.003989/0.7152, allocations: 0.9506 MB / 0.8236 GB, free: 25.19 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0442948173731565] Failed to read output from testmodel.py, exit status != 0: 0.7234019953757524 0.7361114719999999 0.027470295000000002 Calling exit ...