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: 71.77 kB / 19.03 MB, free: 1.09 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.001737/0.001737, allocations: 156.6 kB / 22.28 MB, free: 3.516 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 1.379/1.379, allocations: 177.2 MB / 202.7 MB, free: 4.816 MB / 186.7 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.21/1.21, allocations: 154.7 MB / 413.8 MB, free: 3.16 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: 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.003239/0.003239, allocations: 78.75 kB / 0.6181 GB, free: 0.9023 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2067, allocations: 102 MB / 0.7177 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00198/0.2087, allocations: 0.7905 MB / 0.7185 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2099, allocations: 0.9055 MB / 0.7194 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.21, allocations: 0 / 0.7194 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.2101, allocations: 7.875 kB / 0.7194 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.2102, allocations: 11.88 kB / 0.7194 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.2104, allocations: 31.91 kB / 0.7194 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2105, allocations: 75.72 kB / 0.7195 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2106, allocations: 28.19 kB / 0.7195 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.2108, allocations: 59.77 kB / 0.7196 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.2108, allocations: 23.86 kB / 0.7196 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.2109, allocations: 4 kB / 0.7196 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.2109, allocations: 15.98 kB / 0.7196 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.2109, allocations: 15.92 kB / 0.7196 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.211, allocations: 19.88 kB / 0.7197 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2111, allocations: 83.61 kB / 0.7197 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2111, allocations: 0 / 0.7197 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2111, allocations: 4 kB / 0.7197 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.2111, allocations: 0 / 0.7197 GB, free: 8.969 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.0006215/0.2118, allocations: 321.9 kB / 0.72 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2118, allocations: 12.03 kB / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.2118, allocations: 34.75 kB / 0.7201 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.212, allocations: 16.88 kB / 0.7201 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.2123, allocations: 138.4 kB / 0.7202 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2123, allocations: 4.375 kB / 0.7202 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.2123, allocations: 4.375 kB / 0.7202 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2125, allocations: 70.17 kB / 0.7203 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2125, allocations: 3.938 kB / 0.7203 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2125, allocations: 0 / 0.7203 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2125, allocations: 4 kB / 0.7203 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.2127, allocations: 31.97 kB / 0.7204 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.2132, allocations: 279.8 kB / 0.7206 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.2134, allocations: 54.53 kB / 0.7207 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.2134, allocations: 16.92 kB / 0.7207 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2134, allocations: 0 / 0.7207 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2135, allocations: 34.59 kB / 0.7207 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.2135, allocations: 0 / 0.7207 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000295/0.2138, allocations: 81.7 kB / 0.7208 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.2138, allocations: 51.41 kB / 0.7208 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.214, allocations: 138.3 kB / 0.721 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.214, allocations: 29.7 kB / 0.721 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.2141, allocations: 92.14 kB / 0.7211 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2141, allocations: 11.94 kB / 0.7211 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.2141, allocations: 21.66 kB / 0.7211 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003295/0.2144, allocations: 330.8 kB / 0.7214 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.606e-05/0.2145, allocations: 12 kB / 0.7215 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.2146, allocations: 19.98 kB / 0.7215 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.2147, allocations: 28.78 kB / 0.7215 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2147, allocations: 0 / 0.7215 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.2148, allocations: 69.62 kB / 0.7216 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2148, allocations: 9.719 kB / 0.7216 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2148, allocations: 0 / 0.7216 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2148, allocations: 0 / 0.7216 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.2149, allocations: 4 kB / 0.7216 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.2149, allocations: 0 / 0.7216 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.215, allocations: 19.92 kB / 0.7216 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.215, allocations: 3.938 kB / 0.7216 GB, free: 6.863 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.929e-05/0.2151, allocations: 113.8 kB / 0.7217 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2151, allocations: 15.88 kB / 0.7217 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2152, allocations: 16.34 kB / 0.7217 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2152, allocations: 0 / 0.7217 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2152, allocations: 0 / 0.7217 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2152, allocations: 0 / 0.7217 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.2154, allocations: 148.6 kB / 0.7219 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2154, allocations: 0 / 0.7219 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.2154, allocations: 4 kB / 0.7219 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2154, allocations: 3.984 kB / 0.7219 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2154, allocations: 0 / 0.7219 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2154, allocations: 4 kB / 0.7219 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2154, allocations: 0 / 0.7219 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.2156, allocations: 163.4 kB / 0.7221 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.2156, allocations: 12.33 kB / 0.7221 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2157, allocations: 4 kB / 0.7221 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2158, allocations: 7.984 kB / 0.7221 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2158, allocations: 7.984 kB / 0.7221 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2158, allocations: 3.938 kB / 0.7221 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.2159, allocations: 111.2 kB / 0.7222 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2159, allocations: 0 / 0.7222 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002207/0.2161, allocations: 8 kB / 0.7222 GB, free: 6.18 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.0005455/0.2167, allocations: 0.6929 MB / 0.7229 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.2168, allocations: 35.92 kB / 0.7229 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2168, allocations: 0 / 0.7229 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.2169, allocations: 15.98 kB / 0.7229 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2171, allocations: 17.97 kB / 0.7229 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2187, allocations: 1.377 MB / 0.7243 GB, free: 3.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.2188, allocations: 83.02 kB / 0.7244 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.2188, allocations: 11.92 kB / 0.7244 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.2189, allocations: 16.5 kB / 0.7244 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2189, allocations: 0 / 0.7244 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.2503, allocations: 2.696 MB / 0.727 GB, free: 1.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.46, allocations: 6.125 kB / 0.727 GB, free: 1.23 MB / 0.6198 GB " [Timeout remaining time 648] (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: 15.415990371999214] Failed to read output from testmodel.py, exit status != 0: 11.576324294990627 11.605526515 11.388983304 Calling exit ...