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.001356/0.001356, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.001697/0.001697, allocations: 173.7 kB / 22.46 MB, free: 4.984 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.417/1.417, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.169/1.169, allocations: 154.7 MB / 413.9 MB, free: 5.152 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.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 2.495e-06/2.495e-06, allocations: 0 / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.296e-05, allocations: 8.391 kB / 0.6188 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001859/0.001892, allocations: 0.7716 MB / 0.6196 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.003137, allocations: 0.9181 MB / 0.6205 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.003219, allocations: 4 kB / 0.6205 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.003346, allocations: 15.81 kB / 0.6205 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.00339, allocations: 15.81 kB / 0.6205 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.003579, allocations: 23.97 kB / 0.6205 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003714, allocations: 75.78 kB / 0.6206 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003825, allocations: 31.91 kB / 0.6206 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.003973, allocations: 39.91 kB / 0.6207 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.00405, allocations: 31.89 kB / 0.6207 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.004068, allocations: 4 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.789e-05/0.004106, allocations: 8 kB / 0.6207 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.004127, allocations: 19.86 kB / 0.6207 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.004162, allocations: 23.92 kB / 0.6207 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004304, allocations: 75.73 kB / 0.6208 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004306, allocations: 0 / 0.6208 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004306, allocations: 4 kB / 0.6208 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.004311, allocations: 0 / 0.6208 GB, free: 2.434 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005182/0.004829, allocations: 317.9 kB / 0.6211 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004867, allocations: 12.03 kB / 0.6211 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.005023, allocations: 20.88 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.005267, allocations: 145.5 kB / 0.6213 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.005284, allocations: 12.31 kB / 0.6213 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.005296, allocations: 4.312 kB / 0.6213 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.005451, allocations: 66.23 kB / 0.6214 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.005461, allocations: 192 / 0.6214 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.00547, allocations: 384 / 0.6214 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.005474, allocations: 384 / 0.6214 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.005591, allocations: 39.91 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.006037, allocations: 248.5 kB / 0.6217 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.006196, allocations: 46.56 kB / 0.6217 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.006252, allocations: 25.03 kB / 0.6217 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.00627, allocations: 3.938 kB / 0.6217 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.006297, allocations: 30.56 kB / 0.6218 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.006299, allocations: 0 / 0.6218 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000267/0.006566, allocations: 77.62 kB / 0.6218 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.006608, allocations: 51.41 kB / 0.6219 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.006748, allocations: 140.1 kB / 0.622 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.006771, allocations: 29.7 kB / 0.622 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.006846, allocations: 100.1 kB / 0.6221 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.006862, allocations: 3.953 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.006901, allocations: 21.7 kB / 0.6222 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.007051, allocations: 318.8 kB / 0.6225 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.007109, allocations: 15.98 kB / 0.6225 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.346e-05/0.007153, allocations: 19.92 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.525e-05/0.007238, allocations: 28.84 kB / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00724, allocations: 3.938 kB / 0.6225 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.007377, allocations: 69.58 kB / 0.6226 GB, free: 456 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.007391, allocations: 4 kB / 0.6226 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007397, allocations: 3.984 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.007413, allocations: 0 / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.007477, allocations: 4 kB / 0.6226 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007482, allocations: 0 / 0.6226 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.007566, allocations: 15.98 kB / 0.6226 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.007572, allocations: 3.938 kB / 0.6226 GB, free: 424 kB / 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: 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 9.685e-05/0.007669, allocations: 114.8 kB / 0.6227 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.007701, allocations: 12.22 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.007736, allocations: 16.33 kB / 0.6228 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007737, allocations: 3.938 kB / 0.6228 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.007742, allocations: 3.984 kB / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.007744, allocations: 0 / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.007904, allocations: 121.3 kB / 0.6229 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.007905, allocations: 0 / 0.6229 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.007946, allocations: 11.94 kB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007948, allocations: 0 / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.007956, allocations: 4 kB / 0.6229 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.00796, allocations: 4 kB / 0.6229 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.00796, allocations: 0 / 0.6229 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.008162, allocations: 159.4 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.008176, allocations: 7.891 kB / 0.6231 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.008201, allocations: 7.984 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.008297, allocations: 8 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.008352, allocations: 15.97 kB / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008356, allocations: 0 / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.443e-05/0.00843, allocations: 105.6 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.00843, allocations: 0 / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002191/0.008649, allocations: 8 kB / 0.6232 GB, free: 15.76 MB / 0.545 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.0001163/0.008766, allocations: 95.25 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.008922, allocations: 35.97 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008924, allocations: 0 / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.008984, allocations: 23.92 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.009227, allocations: 8 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.00962, allocations: 172.5 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.952e-05/0.009699, allocations: 75.33 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.009738, allocations: 4 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.009771, allocations: 12.5 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.009771, allocations: 4 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of Templates: time 0.0038/0.01357, allocations: 0.9146 MB / 0.6245 GB, free: 14.4 MB / 0.545 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: 5.6086630914360285] Failed to read output from testmodel.py, exit status != 0: 0.02241119183599949 0.038138404 0.030611486 Calling exit ...