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.0007512/0.0007512, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.0008322/0.0008322, allocations: 162 kB / 22.43 MB, free: 2.141 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.902/0.902, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.6965/0.6965, allocations: 154.7 MB / 413.9 MB, free: 0.7539 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.0009494/0.0009494, allocations: 70.58 kB / 0.6184 GB, free: 13.52 MB / 0.5886 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.4507/0.4517, allocations: 102 MB / 0.7179 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001511/0.4532, allocations: 0.7834 MB / 0.7187 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.4542, allocations: 0.9151 MB / 0.7196 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.4543, allocations: 6.438 kB / 0.7196 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.4544, allocations: 11 kB / 0.7196 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.4544, allocations: 10.52 kB / 0.7196 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.4546, allocations: 33.25 kB / 0.7197 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.4547, allocations: 74.8 kB / 0.7197 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.4549, allocations: 30.48 kB / 0.7198 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.455, allocations: 45.69 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.4551, allocations: 32.39 kB / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.4551, allocations: 8.969 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.4552, allocations: 9.516 kB / 0.7199 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.4552, allocations: 11.02 kB / 0.7199 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.4552, allocations: 24.89 kB / 0.7199 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.4554, allocations: 89.59 kB / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4554, allocations: 5.641 kB / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4554, allocations: 0 / 0.72 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4554, allocations: 0 / 0.72 GB, free: 21.88 MB / 0.6355 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.0003943/0.4558, allocations: 316.5 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4558, allocations: 8.719 kB / 0.7203 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.4558, allocations: 38.23 kB / 0.7203 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.456, allocations: 16.98 kB / 0.7203 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4562, allocations: 151.3 kB / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.4562, allocations: 6.531 kB / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.4562, allocations: 3.844 kB / 0.7205 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4563, allocations: 59.11 kB / 0.7206 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4563, allocations: 3.938 kB / 0.7206 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4563, allocations: 4.562 kB / 0.7206 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4563, allocations: 1.219 kB / 0.7206 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.4564, allocations: 36.39 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.4567, allocations: 273.5 kB / 0.7209 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4568, allocations: 51.52 kB / 0.7209 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.4569, allocations: 18.25 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.4569, allocations: 5.797 kB / 0.7209 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4569, allocations: 35.73 kB / 0.721 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.4569, allocations: 0 / 0.721 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002012/0.4571, allocations: 71.95 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4571, allocations: 60.88 kB / 0.7211 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.4572, allocations: 140.5 kB / 0.7212 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.4572, allocations: 27.14 kB / 0.7213 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.4573, allocations: 94.44 kB / 0.7213 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.4573, allocations: 10.73 kB / 0.7214 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.4573, allocations: 19.23 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.4574, allocations: 322.9 kB / 0.7217 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.4574, allocations: 14.67 kB / 0.7217 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.4574, allocations: 15.38 kB / 0.7217 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/0.4575, allocations: 26.59 kB / 0.7217 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4575, allocations: 4 kB / 0.7217 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.854e-05/0.4576, allocations: 66.45 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4576, allocations: 5.469 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4576, allocations: 1 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4576, allocations: 0.7969 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.327e-05/0.4577, allocations: 8.359 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4577, allocations: 1.062 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.4577, allocations: 9.859 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4577, allocations: 9.469 kB / 0.7218 GB, free: 20.19 MB / 0.6355 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.54e-05/0.4578, allocations: 121.2 kB / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.4578, allocations: 5.891 kB / 0.722 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.4578, allocations: 7.844 kB / 0.722 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4578, allocations: 6.078 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4578, allocations: 0 / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4578, allocations: 0 / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.458, allocations: 150.4 kB / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.458, allocations: 0 / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.458, allocations: 4.734 kB / 0.7221 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.458, allocations: 6.141 kB / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.458, allocations: 0 / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.458, allocations: 0.6562 kB / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.458, allocations: 1.344 kB / 0.7221 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.4581, allocations: 167.5 kB / 0.7223 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.4581, allocations: 6.703 kB / 0.7223 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4581, allocations: 6.875 kB / 0.7223 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.4582, allocations: 8.75 kB / 0.7223 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.4582, allocations: 9.031 kB / 0.7223 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4582, allocations: 1.094 kB / 0.7223 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.4583, allocations: 114.2 kB / 0.7224 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4583, allocations: 0 / 0.7224 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000144/0.4584, allocations: 6.75 kB / 0.7224 GB, free: 19.63 MB / 0.6355 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.0002063/0.4586, allocations: 0.6996 MB / 0.7231 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.4587, allocations: 33.17 kB / 0.7231 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4587, allocations: 1.094 kB / 0.7231 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.4587, allocations: 16.28 kB / 0.7232 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4589, allocations: 9.062 kB / 0.7232 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.4598, allocations: 1.396 MB / 0.7245 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.4598, allocations: 82.05 kB / 0.7246 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.4598, allocations: 7.797 kB / 0.7246 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.4599, allocations: 27.16 kB / 0.7246 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4599, allocations: 0 / 0.7246 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.478, allocations: 2.693 MB / 0.7273 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.969, allocations: 10.84 kB / 0.7273 GB, free: 16.64 MB / 0.6355 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: 9.745088909985498] Failed to read output from testmodel.py, exit status != 0: 7.048105035093613 7.059562188 6.601693167 Calling exit ...