Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001195/0.001195, 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.001523/0.001523, 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.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7289/0.7289, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.231e-05, allocations: 7.891 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001489/0.001511, allocations: 0.7918 MB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.002417, allocations: 0.9054 MB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.002509, allocations: 3.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.002625, allocations: 15.86 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.002657, allocations: 11.88 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.002934, allocations: 27.95 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.78e-05/0.003032, allocations: 75.72 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003142, allocations: 27.98 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.003267, allocations: 55.77 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.003325, allocations: 23.91 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.003341, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.003382, allocations: 11.98 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.003396, allocations: 11.94 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.003418, allocations: 15.98 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.003543, allocations: 87.67 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.003545, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003545, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.003549, allocations: 4 kB / 0.6201 GB, free: 11.58 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.0003897/0.003939, allocations: 314 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.003977, allocations: 13.47 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.004005, allocations: 34.75 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.885e-05/0.004104, allocations: 20.88 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.004293, allocations: 143.6 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.004302, allocations: 4.375 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.004312, allocations: 8.375 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.00442, allocations: 62.23 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004427, allocations: 192 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/0.004436, allocations: 384 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004442, allocations: 8.125 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.004509, allocations: 35.91 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.004846, allocations: 271.9 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.004952, allocations: 54.58 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.004982, allocations: 16.92 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.004996, allocations: 0 / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.005014, allocations: 30.56 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.005015, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.00017/0.005185, allocations: 85.64 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.005214, allocations: 55.34 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.005289, allocations: 133.8 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.0053, allocations: 29.7 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.005474, allocations: 96.09 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.005488, allocations: 15.86 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.005516, allocations: 17.72 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.005594, allocations: 326.8 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.00563, allocations: 12 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.005655, allocations: 15.98 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.005704, allocations: 29.11 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.005705, allocations: 0 / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.092e-05/0.005786, allocations: 69.67 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005799, allocations: 10.28 kB / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.005803, allocations: 3.938 kB / 0.622 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005815, allocations: 4 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.005857, allocations: 0 / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005862, allocations: 0 / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.005898, allocations: 19.94 kB / 0.622 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.005902, allocations: 0 / 0.622 GB, free: 9.484 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 6.004e-05/0.005962, allocations: 122.8 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.005976, allocations: 11.95 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.005999, allocations: 8.344 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006001, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.006005, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006008, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.006123, allocations: 148.7 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.006125, allocations: 4 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.006142, allocations: 7.984 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006143, allocations: 0 / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00615, allocations: 4 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006151, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.006152, allocations: 4 kB / 0.6223 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.006256, allocations: 163.4 kB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.006265, allocations: 4 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006277, allocations: 0 / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.006324, allocations: 11.98 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.006365, allocations: 7.984 kB / 0.6225 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.006369, allocations: 4 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.006411, allocations: 103.2 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006412, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001532/0.006565, allocations: 15.95 kB / 0.6226 GB, free: 8.801 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.0002633/0.006828, allocations: 0.6927 MB / 0.6233 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.006925, allocations: 35.97 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006927, allocations: 0 / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.006955, allocations: 16 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.007149, allocations: 8 kB / 0.6233 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009058/0.008054, allocations: 1.378 MB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.008099, allocations: 79.27 kB / 0.6247 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.00813, allocations: 4 kB / 0.6247 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.008176, allocations: 28.48 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.008177, allocations: 4 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.02312, allocations: 2.704 MB / 0.6274 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.957/6.98, allocations: 14.97 kB / 0.6274 GB, free: 3.875 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.814634996466339] Failed to read output from testmodel.py, exit status != 0: 7.05938237439841 7.070495462 7.06490932 Calling exit ...