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.0009958/0.0009958, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009901/0.0009901, allocations: 173.7 kB / 23.28 MB, free: 1.219 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 1.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.508 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-545:108: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-545:116: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.8074/0.8074, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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 2.034e-06/2.034e-06, allocations: 0 / 0.5208 GB, free: 1.77 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.41e-05, allocations: 4.609 kB / 0.5208 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.0014/0.001424, allocations: 0.7983 MB / 0.5216 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008358/0.00226, allocations: 0.9348 MB / 0.5225 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.002339, allocations: 3.938 kB / 0.5225 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.002446, allocations: 11.88 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.231e-05/0.002478, allocations: 13.22 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.002647, allocations: 28.02 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.002732, allocations: 84.11 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.002821, allocations: 19.38 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.002943, allocations: 51.88 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.002995, allocations: 19.92 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.00301, allocations: 4 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.003049, allocations: 8 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.003068, allocations: 19.97 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.003084, allocations: 11.94 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.664e-05/0.00318, allocations: 63.69 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003183, allocations: 0 / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003184, allocations: 0.5625 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.003187, allocations: 0.5625 kB / 0.5228 GB, free: 15.72 MB / 0.4948 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.0003259/0.003513, allocations: 401.2 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.003543, allocations: 15.97 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.003632, allocations: 14.36 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.00375, allocations: 154.1 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.003759, allocations: 5.312 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.003766, allocations: 384 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/0.003862, allocations: 66.88 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.003869, allocations: 1.312 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.003876, allocations: 4.375 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003882, allocations: 4.375 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.003907, allocations: 17.3 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.004148, allocations: 280.2 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.631e-05/0.004214, allocations: 39.84 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.004228, allocations: 15.73 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.00424, allocations: 1.281 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.004292, allocations: 45.42 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.004292, allocations: 3.938 kB / 0.5239 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001113/0.004404, allocations: 47.08 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.004425, allocations: 51.41 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.0045, allocations: 193.9 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.004513, allocations: 26.48 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.004558, allocations: 142.8 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.004573, allocations: 13.67 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.004598, allocations: 23.36 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.004756, allocations: 0.4884 MB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.004768, allocations: 4 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.004778, allocations: 4 kB / 0.5248 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.004805, allocations: 22.28 kB / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004807, allocations: 0 / 0.5249 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.395e-05/0.004861, allocations: 49.62 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.004871, allocations: 6.031 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.004875, allocations: 0 / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.004884, allocations: 0 / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.004922, allocations: 7.984 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.004925, allocations: 2.75 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.004953, allocations: 7.953 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.004957, allocations: 0 / 0.5249 GB, free: 13.41 MB / 0.4948 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 5.851e-05/0.005015, allocations: 176.4 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.005034, allocations: 15.88 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.005055, allocations: 8.344 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.005056, allocations: 1 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.005057, allocations: 4 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.00506, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.863e-05/0.005149, allocations: 110.1 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00515, allocations: 0 / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.005167, allocations: 8.922 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.005168, allocations: 0 / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.005173, allocations: 4 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005175, allocations: 4.438 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005175, allocations: 0.6875 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.778e-05/0.005263, allocations: 191.9 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.005269, allocations: 1.219 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.005282, allocations: 4 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.005321, allocations: 15.92 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.005353, allocations: 8.953 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.005355, allocations: 0 / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.005393, allocations: 140.5 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005393, allocations: 0 / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001351/0.005528, allocations: 15.95 kB / 0.5256 GB, free: 12.66 MB / 0.4948 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.07e-05/0.005608, allocations: 109.7 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.761e-05/0.005666, allocations: 19.67 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005667, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.005686, allocations: 19.62 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.005852, allocations: 10.91 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.006209, allocations: 177.4 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.062e-05/0.00624, allocations: 55.36 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.006265, allocations: 8.641 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.006323, allocations: 82.19 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of SimCode: time 6.92e-07/0.006323, allocations: 1.312 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.002359/0.008682, allocations: 0.9931 MB / 0.527 GB, free: 11.19 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4968236330896616]