Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.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.0008836/0.0008836, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001066/0.001066, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8891/0.8891, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7213/0.7213, allocations: 154.6 MB / 413.7 MB, free: 0.793 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.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.025e-06/3.025e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.696e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Less): time 0.001578/0.001605, allocations: 0.8248 MB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002675, allocations: 0.9288 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.002786, allocations: 7.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.002931, allocations: 19.8 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.002966, allocations: 11.88 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.003195, allocations: 39.88 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003308, allocations: 103.7 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.003442, allocations: 31.95 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.003593, allocations: 59.89 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.003652, allocations: 31.89 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.003676, allocations: 8 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.003717, allocations: 19.88 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.003735, allocations: 19.92 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.003762, allocations: 27.91 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003905, allocations: 111.6 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.003908, allocations: 0 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003909, allocations: 4 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003914, allocations: 0 / 0.6204 GB, free: 11.33 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004293/0.004343, allocations: 332.5 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.00438, allocations: 12.03 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.00441, allocations: 42.73 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/0.00451, allocations: 16.84 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.004714, allocations: 145.6 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.00473, allocations: 12.3 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.004742, allocations: 8.375 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.004905, allocations: 94.2 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.004912, allocations: 4.188 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004921, allocations: 384 / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004926, allocations: 4.125 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.005053, allocations: 63.95 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.005436, allocations: 299.7 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.005585, allocations: 70.53 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.00565, allocations: 36.91 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.005665, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.005688, allocations: 38.5 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.00569, allocations: 0 / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002718/0.005961, allocations: 121.6 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.00599, allocations: 55.41 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.006066, allocations: 131.9 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.006078, allocations: 25.7 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.006129, allocations: 108 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.006145, allocations: 11.89 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.006175, allocations: 17.72 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.006253, allocations: 326.8 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.006314, allocations: 31.97 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.006373, allocations: 35.91 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.006479, allocations: 52.81 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006481, allocations: 3.938 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001426/0.006623, allocations: 101.6 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006636, allocations: 4 kB / 0.6225 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.00664, allocations: 192 / 0.6225 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.006653, allocations: 8 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.00672, allocations: 15.98 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.006725, allocations: 3.938 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.006774, allocations: 15.97 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.006782, allocations: 3.938 kB / 0.6225 GB, free: 8.926 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 (5): * Single equations (assignments): 5 * 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.884e-05/0.006851, allocations: 122.8 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.006866, allocations: 3.953 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.006889, allocations: 12.34 kB / 0.6226 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006891, allocations: 4 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006895, allocations: 0 / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.006897, allocations: 0 / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.007019, allocations: 156.7 kB / 0.6228 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.00702, allocations: 4 kB / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.007051, allocations: 7.984 kB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007053, allocations: 4 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007059, allocations: 0 / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00706, allocations: 0 / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007061, allocations: 0 / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.00722, allocations: 195.3 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.00723, allocations: 15.88 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.007244, allocations: 0 / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.007305, allocations: 19.98 kB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.00735, allocations: 11.97 kB / 0.623 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.007354, allocations: 0 / 0.623 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.007393, allocations: 101.5 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007393, allocations: 4 kB / 0.6231 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000148/0.007541, allocations: 15.94 kB / 0.6232 GB, free: 8.191 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 (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 Backend phase and start with SimCode phase: time 0.0003605/0.007902, allocations: 0.7124 MB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.00808, allocations: 68.16 kB / 0.6239 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008082, allocations: 8 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.008144, allocations: 31.97 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.008355, allocations: 11.91 kB / 0.624 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.009583, allocations: 1.496 MB / 0.6254 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.956e-05/0.009642, allocations: 83.14 kB / 0.6255 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.009678, allocations: 4 kB / 0.6255 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.009732, allocations: 28.48 kB / 0.6255 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of SimCode: time 8.61e-07/0.009733, allocations: 4 kB / 0.6255 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.0251, allocations: 2.903 MB / 0.6284 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/6.948, allocations: 5.828 kB / 0.6284 GB, free: 2.867 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less_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_Less.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.749106693081558] Failed to read output from testmodel.py, exit status != 0: 7.030102881602943 7.039740884 7.033415904 Calling exit ...