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.001381/0.001381, allocations: 79.91 kB / 19.18 MB, free: 2.516 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.001484/0.001484, allocations: 165.2 kB / 22.46 MB, free: 5.375 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.209/1.209, allocations: 154.6 MB / 413.8 MB, free: 5.238 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.755e-06/2.755e-06, allocations: 0 / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.392e-05/3.668e-05, allocations: 8.391 kB / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00199/0.002026, allocations: 0.7869 MB / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003419, allocations: 0.9109 MB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003526, allocations: 7.875 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.003655, allocations: 15.81 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.003707, allocations: 19.86 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.003923, allocations: 27.91 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.004058, allocations: 75.77 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.004177, allocations: 23.92 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.004349, allocations: 47.89 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.004418, allocations: 19.92 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.004438, allocations: 4 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.004481, allocations: 8 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.004507, allocations: 23.91 kB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.00454, allocations: 15.94 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.004707, allocations: 91.66 kB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00471, allocations: 0 / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00471, allocations: 0 / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.004719, allocations: 0 / 0.6207 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.0005735/0.005293, allocations: 313.9 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.005333, allocations: 12.03 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.005486, allocations: 16.88 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.005746, allocations: 153.5 kB / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.005759, allocations: 4.375 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.005778, allocations: 8.375 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.005945, allocations: 62.17 kB / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.005955, allocations: 192 / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005966, allocations: 384 / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.00597, allocations: 384 / 0.6212 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.00609, allocations: 43.84 kB / 0.6213 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.006566, allocations: 252.5 kB / 0.6215 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.006745, allocations: 42.55 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.006801, allocations: 20.86 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.006817, allocations: 0 / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.006842, allocations: 30.56 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006843, allocations: 0 / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002659/0.007109, allocations: 85.73 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.007148, allocations: 55.41 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.007283, allocations: 140 kB / 0.6219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.007303, allocations: 29.64 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.007383, allocations: 96.08 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.007402, allocations: 7.938 kB / 0.622 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.007443, allocations: 17.72 kB / 0.622 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.00759, allocations: 322.8 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.007644, allocations: 12 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.007692, allocations: 15.98 kB / 0.6223 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.007782, allocations: 29.12 kB / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007784, allocations: 0 / 0.6224 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001663/0.00795, allocations: 81.48 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007965, allocations: 4 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.00797, allocations: 3.984 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.007985, allocations: 4 kB / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.008045, allocations: 0 / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.008049, allocations: 0 / 0.6225 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/0.008126, allocations: 15.98 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.008132, allocations: 4 kB / 0.6225 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 8.794e-05/0.00822, allocations: 114.8 kB / 0.6226 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.008255, allocations: 15.88 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.987e-05/0.008295, allocations: 12.34 kB / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008296, allocations: 0 / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.0083, allocations: 0 / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.008302, allocations: 0 / 0.6226 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.008464, allocations: 121.3 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008465, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.008511, allocations: 11.88 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.008513, allocations: 7.938 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.008524, allocations: 4 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008525, allocations: 0 / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.008528, allocations: 3.984 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.008735, allocations: 155.5 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.008757, allocations: 11.88 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.008778, allocations: 4 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.008884, allocations: 7.984 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.008939, allocations: 11.98 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.008944, allocations: 4 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.334e-05/0.009027, allocations: 105.8 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009027, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002278/0.009255, allocations: 8 kB / 0.623 GB, free: 15.77 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.0001336/0.009389, allocations: 99.17 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.009545, allocations: 31.98 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009547, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.195e-05/0.009609, allocations: 23.92 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.009861, allocations: 12 kB / 0.6232 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.01026, allocations: 172.5 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.171e-05/0.01034, allocations: 75.33 kB / 0.6234 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.01038, allocations: 4.281 kB / 0.6234 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.01042, allocations: 16.48 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.01042, allocations: 4 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of Templates: time 0.003859/0.01428, allocations: 0.908 MB / 0.6244 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.6907406039536] Failed to read output from testmodel.py, exit status != 0: 0.022532667964696884 0.037854833000000004 0.030039023 Calling exit ...