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.0008276/0.0008276, allocations: 96.38 kB / 19.7 MB, free: 448 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.000765/0.000765, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.878/0.878, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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.7833/0.7833, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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.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.0009092/0.0009092, allocations: 71.31 kB / 0.7191 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5093, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001404/0.5107, allocations: 0.7901 MB / 0.8194 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.5115, allocations: 0.9049 MB / 0.8203 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.273e-05/0.5116, allocations: 4 kB / 0.8203 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.5117, allocations: 14.67 kB / 0.8203 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.088e-05/0.5117, allocations: 14.77 kB / 0.8203 GB, free: 324 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.5119, allocations: 32.94 kB / 0.8204 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.512, allocations: 72.52 kB / 0.8204 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.5122, allocations: 27.09 kB / 0.8205 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.5123, allocations: 43.95 kB / 0.8205 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.5123, allocations: 25.14 kB / 0.8205 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.5124, allocations: 10.56 kB / 0.8205 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.12e-05/0.5124, allocations: 6.969 kB / 0.8205 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.5124, allocations: 16.42 kB / 0.8206 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.5124, allocations: 25.62 kB / 0.8206 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.5126, allocations: 81.78 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5126, allocations: 1.219 kB / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5126, allocations: 0 / 0.8207 GB, free: 152 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.5126, allocations: 0 / 0.8207 GB, free: 152 kB / 0.6042 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.0004355/0.513, allocations: 319.6 kB / 0.821 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5131, allocations: 16.47 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.5132, allocations: 16.33 kB / 0.821 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5134, allocations: 145.2 kB / 0.8211 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5134, allocations: 5.938 kB / 0.8211 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.5135, allocations: 4.594 kB / 0.8211 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.5136, allocations: 66.05 kB / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5136, allocations: 192 / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5136, allocations: 7.875 kB / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.5136, allocations: 1.75 kB / 0.8212 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.5137, allocations: 36.27 kB / 0.8213 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.514, allocations: 252.6 kB / 0.8215 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5142, allocations: 47.72 kB / 0.8215 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.142e-05/0.5142, allocations: 18.47 kB / 0.8216 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.5142, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.5142, allocations: 33.78 kB / 0.8216 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.5142, allocations: 4.094 kB / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001832/0.5144, allocations: 75.41 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.5144, allocations: 51.97 kB / 0.8217 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.5145, allocations: 136.6 kB / 0.8218 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5145, allocations: 29.7 kB / 0.8219 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.5146, allocations: 100.3 kB / 0.822 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.5146, allocations: 8.688 kB / 0.822 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.5146, allocations: 19.12 kB / 0.822 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.5147, allocations: 324 kB / 0.8223 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.5147, allocations: 18.78 kB / 0.8223 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.5148, allocations: 17.86 kB / 0.8223 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.5148, allocations: 32.11 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5148, allocations: 0 / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.199e-05/0.5149, allocations: 67.44 kB / 0.8224 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.5149, allocations: 5.375 kB / 0.8224 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.5149, allocations: 0 / 0.8224 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5149, allocations: 2.062 kB / 0.8224 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.16e-05/0.515, allocations: 4.891 kB / 0.8224 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.515, allocations: 8.641 kB / 0.8225 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.515, allocations: 9.625 kB / 0.8225 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.515, allocations: 0.6562 kB / 0.8225 GB, free: 14.53 MB / 0.6198 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 6.335e-05/0.5151, allocations: 119.7 kB / 0.8226 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.5151, allocations: 6.703 kB / 0.8226 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.5151, allocations: 19.33 kB / 0.8226 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5151, allocations: 6.094 kB / 0.8226 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5152, allocations: 0 / 0.8226 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5152, allocations: 0.7031 kB / 0.8226 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.5153, allocations: 129 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5153, allocations: 0.75 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.5153, allocations: 3.172 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5153, allocations: 0 / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5153, allocations: 6.016 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5153, allocations: 0.7969 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5153, allocations: 3.938 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.5154, allocations: 161.6 kB / 0.8229 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.5154, allocations: 7.062 kB / 0.8229 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.5154, allocations: 0.6094 kB / 0.8229 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.5155, allocations: 13.39 kB / 0.8229 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.5155, allocations: 14.42 kB / 0.8229 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5155, allocations: 0.7969 kB / 0.8229 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.5156, allocations: 103.4 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5156, allocations: 0 / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001494/0.5157, allocations: 11.56 kB / 0.823 GB, free: 14 MB / 0.6198 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 8.704e-05/0.5158, allocations: 95.5 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.5159, allocations: 39.02 kB / 0.8232 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5159, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.516, allocations: 15.97 kB / 0.8232 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.5161, allocations: 15.12 kB / 0.8232 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.5164, allocations: 197.1 kB / 0.8234 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.133e-05/0.5165, allocations: 79.61 kB / 0.8235 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.5165, allocations: 13.86 kB / 0.8235 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.5165, allocations: 0 / 0.8235 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.001914/0.5184, allocations: 0.9957 MB / 0.8245 GB, free: 13.54 MB / 0.6198 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: 5.566809540614486] Failed to read output from testmodel.py, exit status != 0: 0.5237649660557508 0.533289369 0.018821704 Calling exit ...