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.0007522/0.0007522, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007956/0.0007956, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8494/0.8494, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6998/0.6998, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.835e-05, allocations: 4.953 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001293/0.001311, allocations: 0.7882 MB / 0.6202 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.002146, allocations: 0.9016 MB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.002215, allocations: 3.938 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.002322, allocations: 15.81 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.00235, allocations: 11.88 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.002525, allocations: 35.83 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.002657, allocations: 79.77 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.00276, allocations: 27.98 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.00288, allocations: 47.88 kB / 0.6213 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.002934, allocations: 19.92 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.002949, allocations: 4 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.002983, allocations: 12 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.002998, allocations: 23.84 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.003018, allocations: 11.94 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.003135, allocations: 83.67 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003137, allocations: 4 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003137, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003141, allocations: 7.938 kB / 0.6214 GB, free: 11.03 MB / 0.5886 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.0003578/0.003499, allocations: 310 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.003529, allocations: 12.03 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.00363, allocations: 16.88 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.003795, allocations: 143.5 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.003805, allocations: 8.375 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.003814, allocations: 384 / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.003913, allocations: 62.23 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.003923, allocations: 12.11 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.003933, allocations: 4.375 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.003937, allocations: 384 / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.781e-05/0.004005, allocations: 39.91 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.004298, allocations: 248.4 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.379e-05/0.004392, allocations: 50.56 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.004422, allocations: 24.94 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.004435, allocations: 0 / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.004453, allocations: 30.56 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.004454, allocations: 0 / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001709/0.004625, allocations: 77.66 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.004649, allocations: 51.41 kB / 0.6225 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.004721, allocations: 133.8 kB / 0.6226 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.004731, allocations: 29.7 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.004773, allocations: 100.1 kB / 0.6227 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.004786, allocations: 7.953 kB / 0.6227 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.004813, allocations: 21.7 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.004882, allocations: 314.8 kB / 0.623 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.004913, allocations: 15.98 kB / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.004937, allocations: 15.98 kB / 0.6231 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.004984, allocations: 28.84 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004985, allocations: 0 / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.612e-05/0.005061, allocations: 77.5 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.005071, allocations: 14.44 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.005074, allocations: 0 / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.005084, allocations: 0 / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.005123, allocations: 4 kB / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.005127, allocations: 0 / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.565e-05/0.005163, allocations: 15.94 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.005167, allocations: 0 / 0.6232 GB, free: 9.023 MB / 0.5886 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.29e-05/0.00523, allocations: 114.8 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.005243, allocations: 7.938 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.005264, allocations: 20.33 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005266, allocations: 0 / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.005269, allocations: 0 / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005273, allocations: 0 / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.005379, allocations: 125.2 kB / 0.6235 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005381, allocations: 4 kB / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.464e-05/0.005396, allocations: 7.938 kB / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.005396, allocations: 3.938 kB / 0.6235 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-06/0.005402, allocations: 4.266 kB / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005402, allocations: 0 / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005403, allocations: 0 / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.005504, allocations: 163.5 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.005513, allocations: 11.88 kB / 0.6236 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.005527, allocations: 4 kB / 0.6237 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.608e-05/0.005573, allocations: 11.98 kB / 0.6237 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.005609, allocations: 7.984 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.005612, allocations: 0 / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.005652, allocations: 103.3 kB / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005652, allocations: 0 / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001463/0.005798, allocations: 11.89 kB / 0.6238 GB, free: 8.375 MB / 0.5886 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 9.604e-05/0.005894, allocations: 103.2 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.099e-05/0.005985, allocations: 39.91 kB / 0.6239 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.005986, allocations: 0 / 0.6239 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.653e-05/0.006013, allocations: 11.98 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.006179, allocations: 11.17 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.006434, allocations: 190.4 kB / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.006477, allocations: 83.27 kB / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.006505, allocations: 16.5 kB / 0.6242 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.006506, allocations: 0 / 0.6242 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of Templates: time 0.001547/0.008052, allocations: 1.004 MB / 0.6252 GB, free: 6.871 MB / 0.5886 GB " [Timeout remaining time 660] 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: 4.83672103099525] Failed to read output from testmodel.py, exit status != 0: 0.012328977696597576 0.019640003 0.015059271 Calling exit ...