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.0008049/0.0008049, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001078/0.001078, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9703/0.9703, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.8067/0.8067, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 66.64 kB / 0.7178 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5936/0.5947, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001824/0.5965, allocations: 0.7927 MB / 0.8182 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.5975, allocations: 0.9012 MB / 0.8191 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.5976, allocations: 9.812 kB / 0.8191 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.5977, allocations: 12.11 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.5978, allocations: 9.297 kB / 0.8191 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.598, allocations: 38.52 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.5982, allocations: 73.98 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.5983, allocations: 26.33 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.5985, allocations: 35.5 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.5985, allocations: 32.48 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.5986, allocations: 4.688 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.834e-05/0.5986, allocations: 12.47 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.5986, allocations: 19.33 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.5987, allocations: 17.34 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.5989, allocations: 83.27 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5989, allocations: 0 / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5989, allocations: 0.6562 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.5989, allocations: 0 / 0.8194 GB, free: 15.88 MB / 0.6198 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.0005152/0.5994, allocations: 320.1 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5994, allocations: 13.81 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.5995, allocations: 37.16 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.5996, allocations: 17.36 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.5999, allocations: 146.7 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.5999, allocations: 5.062 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.5999, allocations: 384 / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.6, allocations: 67.56 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.6001, allocations: 7.875 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6001, allocations: 1.281 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6001, allocations: 4.844 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.69e-05/0.6001, allocations: 33.88 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.6005, allocations: 272.6 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.6007, allocations: 47.39 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.6007, allocations: 19.33 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.6007, allocations: 3.984 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6007, allocations: 35.09 kB / 0.8204 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.6007, allocations: 4 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002138/0.601, allocations: 73.59 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.601, allocations: 53.94 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6011, allocations: 137.5 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.6011, allocations: 28.02 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.6012, allocations: 101 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.6012, allocations: 11.25 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.6012, allocations: 20.28 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6013, allocations: 318.4 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.6014, allocations: 21.33 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.6014, allocations: 13.8 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.6015, allocations: 34.19 kB / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6015, allocations: 0 / 0.8212 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.967e-05/0.6016, allocations: 66.75 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6016, allocations: 4.375 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6016, allocations: 0 / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.6016, allocations: 3.375 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.741e-05/0.6017, allocations: 3.344 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.6017, allocations: 9.328 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.6017, allocations: 10.39 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.6018, allocations: 7.875 kB / 0.8213 GB, free: 14.18 MB / 0.6198 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.084e-05/0.6018, allocations: 114.5 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.6019, allocations: 8.547 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.6019, allocations: 14.25 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6019, allocations: 0 / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6019, allocations: 7.938 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6019, allocations: 0.5625 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.6021, allocations: 153 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6021, allocations: 0 / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.6021, allocations: 4.234 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6021, allocations: 3.703 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.6021, allocations: 0.7969 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.6021, allocations: 3.938 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6021, allocations: 0 / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.6023, allocations: 159.4 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.6023, allocations: 9.922 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.6023, allocations: 0.7031 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.6024, allocations: 13.31 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.6024, allocations: 12.11 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.6024, allocations: 0.6094 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.6025, allocations: 106.3 kB / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.6025, allocations: 7.75 kB / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001543/0.6027, allocations: 5.312 kB / 0.8219 GB, free: 13.62 MB / 0.6198 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.0008039/0.6035, allocations: 0.687 MB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.6036, allocations: 36.94 kB / 0.8226 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6036, allocations: 0 / 0.8226 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.6037, allocations: 21.5 kB / 0.8226 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.6039, allocations: 12.75 kB / 0.8226 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.6052, allocations: 1.386 MB / 0.824 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.512e-05/0.6053, allocations: 84.88 kB / 0.8241 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.452e-05/0.6053, allocations: 3.609 kB / 0.8241 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.6054, allocations: 26.12 kB / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.6054, allocations: 0 / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.6249, allocations: 2.57 MB / 0.8266 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.664/7.289, allocations: 2.688 kB / 0.8266 GB, free: 10.68 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 10.392593918833882] Failed to read output from testmodel.py, exit status != 0: 7.366990828886628 7.377008488 6.775990301 Calling exit ...