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.0007113/0.0007113, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 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.0008258/0.0008258, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9177/0.9177, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7389/0.7389, allocations: 154.6 MB / 413.8 MB, free: 0.8242 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.237e-05, allocations: 2.812 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001848/0.001871, allocations: 0.7905 MB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003114, allocations: 0.9055 MB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-05/0.003206, allocations: 7.938 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.003352, allocations: 15.81 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.003396, allocations: 19.86 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.003629, allocations: 23.92 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003743, allocations: 75.77 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.003862, allocations: 27.95 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.004003, allocations: 55.83 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.899e-05/0.004062, allocations: 19.86 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.00408, allocations: 8 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.004117, allocations: 8 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.004131, allocations: 19.92 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.004157, allocations: 19.92 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.004285, allocations: 87.66 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004286, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004287, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.00429, allocations: 0 / 0.6202 GB, free: 11.48 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.0004322/0.004723, allocations: 310 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.004766, allocations: 12.02 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.004801, allocations: 42.75 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.004925, allocations: 20.88 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.005114, allocations: 137.6 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.005124, allocations: 8.375 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.005134, allocations: 4.375 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.005261, allocations: 66.17 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.00527, allocations: 192 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.005279, allocations: 384 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005286, allocations: 8.062 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.948e-05/0.005355, allocations: 35.98 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.005754, allocations: 279.8 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.005867, allocations: 42.56 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.005901, allocations: 21 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.005917, allocations: 0 / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.005939, allocations: 34.56 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.00594, allocations: 0 / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000195/0.006135, allocations: 81.84 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.006169, allocations: 51.41 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.006259, allocations: 135.9 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006271, allocations: 25.7 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.006331, allocations: 100.1 kB / 0.6215 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.006349, allocations: 11.89 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.006382, allocations: 21.7 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.006482, allocations: 318.8 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.006784, allocations: 15.98 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.00681, allocations: 27.91 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/0.006864, allocations: 32.78 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006867, allocations: 0 / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.939e-05/0.006946, allocations: 57.69 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.006961, allocations: 8 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.006966, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006979, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.007031, allocations: 7.984 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007036, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.007071, allocations: 19.94 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.007077, allocations: 4 kB / 0.6221 GB, free: 9.387 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.569e-05/0.007143, allocations: 118.8 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007158, allocations: 7.953 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.00718, allocations: 8.344 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007183, allocations: 3.984 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.007188, allocations: 0 / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007191, allocations: 0 / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.007308, allocations: 148.7 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.00731, allocations: 3.938 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.007325, allocations: 11.94 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007326, allocations: 0 / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007333, allocations: 4 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.007333, allocations: 0 / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.007335, allocations: 0 / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.007447, allocations: 163.4 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.007456, allocations: 3.984 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.007468, allocations: 0 / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.007517, allocations: 11.98 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.007562, allocations: 15.98 kB / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.007565, allocations: 0 / 0.6225 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.00761, allocations: 105.5 kB / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.00761, allocations: 0 / 0.6226 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001407/0.00775, allocations: 7.953 kB / 0.6226 GB, free: 8.715 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 0.0002703/0.008021, allocations: 0.6969 MB / 0.6233 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.008114, allocations: 35.97 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.008116, allocations: 0 / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.008147, allocations: 23.92 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.008332, allocations: 8 kB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.009241, allocations: 1.372 MB / 0.6247 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.009288, allocations: 71.33 kB / 0.6248 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.009316, allocations: 8 kB / 0.6248 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.009368, allocations: 28.48 kB / 0.6248 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.009369, allocations: 0 / 0.6248 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.02493, allocations: 2.705 MB / 0.6275 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/6.561, allocations: 3.984 kB / 0.6275 GB, free: 3.797 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.269565727561712] Failed to read output from testmodel.py, exit status != 0: 6.643109612166882 6.652202663 6.645842947 Calling exit ...