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.0008262/0.0008262, 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.0008941/0.0008941, 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.9299/0.9299, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7345/0.7345, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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 1.884e-06/1.884e-06, allocations: 0 / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.673e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001384/0.001401, allocations: 0.7813 MB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.002175, allocations: 0.9132 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.002251, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.002361, allocations: 15.81 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.002393, allocations: 11.88 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.002569, allocations: 27.91 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.742e-05/0.002666, allocations: 83.75 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.002764, allocations: 23.98 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.002875, allocations: 55.75 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.00293, allocations: 19.98 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.002944, allocations: 4 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.00298, allocations: 11.94 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.002995, allocations: 19.91 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.003016, allocations: 15.94 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.003129, allocations: 79.73 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003131, allocations: 3.984 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003132, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.003136, allocations: 4 kB / 0.6202 GB, free: 11.52 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.0003763/0.003512, allocations: 314 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.003545, allocations: 8.031 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.873e-05/0.003574, allocations: 42.72 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.003667, allocations: 12.89 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.003829, allocations: 145.6 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-06/0.003838, allocations: 4.375 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.003847, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.003948, allocations: 66.22 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003954, allocations: 4.188 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.003962, allocations: 4.312 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.003967, allocations: 4.125 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.004031, allocations: 31.98 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.004342, allocations: 279.7 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.004439, allocations: 54.64 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.004468, allocations: 16.94 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.00448, allocations: 8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.004496, allocations: 30.56 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.004497, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003109/0.004807, allocations: 69.62 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.004833, allocations: 59.34 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.004904, allocations: 136.2 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.004913, allocations: 25.7 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.338e-05/0.004957, allocations: 100.1 kB / 0.6215 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.004969, allocations: 11.95 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.004994, allocations: 21.66 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.005065, allocations: 322.8 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.005095, allocations: 15.98 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.005118, allocations: 12 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.005164, allocations: 32.84 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.005165, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.683e-05/0.005242, allocations: 65.67 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.005254, allocations: 4 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.005258, allocations: 0 / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.005269, allocations: 4 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.005311, allocations: 11.92 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.005315, allocations: 0 / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.508e-05/0.00535, allocations: 15.94 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.005355, allocations: 0 / 0.622 GB, free: 9.426 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 5.839e-05/0.005413, allocations: 122.7 kB / 0.6222 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.005426, allocations: 4 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.005445, allocations: 8.672 kB / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005446, allocations: 0 / 0.6222 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.005452, allocations: 12 kB / 0.6222 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.005456, allocations: 7.969 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.005561, allocations: 148.6 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005562, allocations: 3.938 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.005576, allocations: 4 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.005577, allocations: 0 / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.005584, allocations: 4 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.005586, allocations: 0 / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005586, allocations: 0 / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/0.00568, allocations: 159.4 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.005689, allocations: 11.95 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.005704, allocations: 7.984 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.005749, allocations: 4 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.005787, allocations: 11.97 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005789, allocations: 0 / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.005829, allocations: 103.3 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005829, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001454/0.005974, allocations: 11.95 kB / 0.6226 GB, free: 8.742 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.0002559/0.00623, allocations: 0.689 MB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.006321, allocations: 43.84 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006322, allocations: 0 / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/0.00635, allocations: 15.98 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.006528, allocations: 6.5 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008661/0.007394, allocations: 1.388 MB / 0.6247 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.007439, allocations: 77.39 kB / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.007465, allocations: 0 / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.007511, allocations: 24.48 kB / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.007512, allocations: 0 / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.02171, allocations: 2.702 MB / 0.6275 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/6.808, allocations: 7.969 kB / 0.6275 GB, free: 3.828 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 & 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.604064281098545] Failed to read output from testmodel.py, exit status != 0: 6.887277512811124 6.8958468569999996 6.890919445 Calling exit ...