Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0007295/0.0007295, 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.0007459/0.0007459, allocations: 162 kB / 22.43 MB, free: 2.145 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.9211/0.9211, allocations: 177.2 MB / 202.8 MB, free: 5.785 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.717/0.717, allocations: 154.9 MB / 414.2 MB, free: 0.5117 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.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_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.001166/0.001166, allocations: 71.33 kB / 0.6186 GB, free: 12.23 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4823, allocations: 102 MB / 0.7182 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001481/0.4837, allocations: 0.6842 MB / 0.7189 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.4845, allocations: 0.8616 MB / 0.7197 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.4846, allocations: 0 / 0.7197 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.4846, allocations: 7.922 kB / 0.7197 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.4847, allocations: 3.938 kB / 0.7197 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.4848, allocations: 19.98 kB / 0.7197 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.697e-05/0.4849, allocations: 43.91 kB / 0.7198 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.485, allocations: 18.8 kB / 0.7198 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.4851, allocations: 31.91 kB / 0.7198 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.4852, allocations: 19.92 kB / 0.7199 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.4852, allocations: 4 kB / 0.7199 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.4852, allocations: 8 kB / 0.7199 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.4852, allocations: 11.92 kB / 0.7199 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.4853, allocations: 15.92 kB / 0.7199 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.4854, allocations: 55.8 kB / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4854, allocations: 0 / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4854, allocations: 0 / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4854, allocations: 0 / 0.7199 GB, free: 11.64 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004122/0.4858, allocations: 286.7 kB / 0.7202 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4858, allocations: 13.47 kB / 0.7202 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.4859, allocations: 34.73 kB / 0.7203 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.4859, allocations: 12.83 kB / 0.7203 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.486, allocations: 110.5 kB / 0.7204 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.486, allocations: 8.375 kB / 0.7204 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.486, allocations: 3.938 kB / 0.7204 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4862, allocations: 69.64 kB / 0.7205 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4862, allocations: 3.938 kB / 0.7205 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4862, allocations: 0 / 0.7205 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4862, allocations: 0 / 0.7205 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.4863, allocations: 55.94 kB / 0.7205 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.4866, allocations: 251.9 kB / 0.7208 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.4868, allocations: 70.45 kB / 0.7208 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.623e-05/0.4868, allocations: 28.91 kB / 0.7209 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.4869, allocations: 0 / 0.7209 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.4869, allocations: 38.5 kB / 0.7209 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4869, allocations: 0 / 0.7209 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002674/0.4872, allocations: 109.6 kB / 0.721 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4872, allocations: 51.41 kB / 0.721 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.4873, allocations: 105.8 kB / 0.7211 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.4873, allocations: 25.7 kB / 0.7212 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.4873, allocations: 96.03 kB / 0.7213 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.4873, allocations: 11.97 kB / 0.7213 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.4874, allocations: 17.7 kB / 0.7213 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.4874, allocations: 322.8 kB / 0.7216 GB, free: 9.762 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.4875, allocations: 23.97 kB / 0.7216 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.4875, allocations: 27.97 kB / 0.7216 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.4876, allocations: 44.83 kB / 0.7217 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4876, allocations: 4 kB / 0.7217 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/0.4878, allocations: 89.59 kB / 0.7218 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4878, allocations: 8 kB / 0.7218 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4878, allocations: 0 / 0.7218 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4878, allocations: 4 kB / 0.7218 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.4879, allocations: 15.92 kB / 0.7218 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4879, allocations: 0 / 0.7218 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.4879, allocations: 15.86 kB / 0.7218 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4879, allocations: 4 kB / 0.7218 GB, free: 9.52 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.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.846e-05/0.488, allocations: 112.1 kB / 0.7219 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.488, allocations: 7.984 kB / 0.7219 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.488, allocations: 4 kB / 0.7219 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.488, allocations: 0 / 0.7219 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4881, allocations: 0 / 0.7219 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4881, allocations: 11.94 kB / 0.722 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.4882, allocations: 140.7 kB / 0.7221 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4882, allocations: 0 / 0.7221 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.4882, allocations: 11.98 kB / 0.7221 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4882, allocations: 0 / 0.7221 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.4882, allocations: 7.984 kB / 0.7221 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.4882, allocations: 4 kB / 0.7221 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4882, allocations: 0 / 0.7221 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.4884, allocations: 187.7 kB / 0.7223 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.4884, allocations: 8.031 kB / 0.7223 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.4884, allocations: 0 / 0.7223 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.4885, allocations: 7.984 kB / 0.7223 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4885, allocations: 11.98 kB / 0.7223 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.4885, allocations: 3.938 kB / 0.7223 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.4886, allocations: 91.27 kB / 0.7224 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4886, allocations: 3.938 kB / 0.7224 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001389/0.4887, allocations: 7.953 kB / 0.7224 GB, free: 8.84 MB / 0.6042 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0003664/0.4891, allocations: 0.7163 MB / 0.7231 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.4892, allocations: 47.95 kB / 0.7232 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4892, allocations: 0 / 0.7232 GB, free: 8.051 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.4893, allocations: 31.97 kB / 0.7232 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.4895, allocations: 14.28 kB / 0.7232 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4905, allocations: 1.323 MB / 0.7245 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.4906, allocations: 67.33 kB / 0.7246 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.4906, allocations: 11.94 kB / 0.7246 GB, free: 6.508 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.4907, allocations: 16.5 kB / 0.7246 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.4907, allocations: 0 / 0.7246 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.5088, allocations: 2.541 MB / 0.7271 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.467, allocations: 15.34 kB / 0.7271 GB, free: 4.09 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.291520643047988] Failed to read output from testmodel.py, exit status != 0: 7.545059686992317 7.558618659 7.070810063 Calling exit ...