Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007756/0.0007756, allocations: 76.45 kB / 19.14 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.0008037/0.0008037, allocations: 165.9 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.8919/0.8919, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7351/0.7351, allocations: 154.9 MB / 414.2 MB, free: 0.5156 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.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.000977/0.000977, allocations: 72.03 kB / 0.6186 GB, free: 13.32 MB / 0.5886 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.4871/0.488, allocations: 102 MB / 0.7182 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0014/0.4894, allocations: 0.6859 MB / 0.7189 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.4902, allocations: 0.8592 MB / 0.7197 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.4902, allocations: 0 / 0.7197 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.4903, allocations: 4.594 kB / 0.7197 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.4903, allocations: 5.859 kB / 0.7197 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.4905, allocations: 22.69 kB / 0.7198 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.4905, allocations: 43.86 kB / 0.7198 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.4906, allocations: 10.77 kB / 0.7198 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.4907, allocations: 38.48 kB / 0.7198 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.4908, allocations: 24.73 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.4908, allocations: 4.5 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.4908, allocations: 3.312 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.4908, allocations: 12.22 kB / 0.7199 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.4908, allocations: 13.03 kB / 0.7199 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.915e-05/0.4909, allocations: 55.12 kB / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4909, allocations: 0 / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4909, allocations: 0 / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.4909, allocations: 0 / 0.7199 GB, free: 21.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003094/0.4912, allocations: 290.3 kB / 0.7202 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4913, allocations: 11.78 kB / 0.7202 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.4913, allocations: 36.58 kB / 0.7203 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.4913, allocations: 7.172 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.927e-05/0.4914, allocations: 107.1 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4914, allocations: 2.688 kB / 0.7204 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.4914, allocations: 14.61 kB / 0.7204 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4916, allocations: 71.94 kB / 0.7205 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.4916, allocations: 1.188 kB / 0.7205 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4916, allocations: 4 kB / 0.7205 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4916, allocations: 5.125 kB / 0.7205 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4917, allocations: 47.88 kB / 0.7205 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.492, allocations: 252.1 kB / 0.7208 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4921, allocations: 61.33 kB / 0.7208 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.4921, allocations: 32 kB / 0.7208 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.4922, allocations: 1.734 kB / 0.7209 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.4922, allocations: 36.12 kB / 0.7209 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4922, allocations: 0 / 0.7209 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002554/0.4924, allocations: 109.4 kB / 0.721 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.4925, allocations: 52.78 kB / 0.721 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.4925, allocations: 111.4 kB / 0.7211 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.4925, allocations: 25.7 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.4926, allocations: 92.11 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4926, allocations: 9.719 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.4926, allocations: 24.75 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.025e-05/0.4926, allocations: 317.4 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.4927, allocations: 26.47 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.4927, allocations: 23.3 kB / 0.7216 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4928, allocations: 50.44 kB / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4928, allocations: 0 / 0.7217 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.493, allocations: 91.58 kB / 0.7218 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.493, allocations: 5.594 kB / 0.7218 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.493, allocations: 0.5156 kB / 0.7218 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.493, allocations: 5.062 kB / 0.7218 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.4931, allocations: 15.38 kB / 0.7218 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4931, allocations: 1 kB / 0.7218 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.4932, allocations: 11.78 kB / 0.7218 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4932, allocations: 2.328 kB / 0.7218 GB, free: 20.14 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: 2 (reaToInt.y,intLesEquThr.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.82e-05/0.4932, allocations: 118.5 kB / 0.7219 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.4932, allocations: 7.203 kB / 0.7219 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.4933, allocations: 5.891 kB / 0.7219 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4933, allocations: 0 / 0.7219 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4933, allocations: 1.891 kB / 0.7219 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4933, allocations: 3.938 kB / 0.7219 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.4934, allocations: 145.7 kB / 0.7221 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4934, allocations: 0 / 0.7221 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.4934, allocations: 11.56 kB / 0.7221 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4934, allocations: 0.5625 kB / 0.7221 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4935, allocations: 1.922 kB / 0.7221 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4935, allocations: 5.094 kB / 0.7221 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4935, allocations: 3.938 kB / 0.7221 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4936, allocations: 181.1 kB / 0.7223 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.4936, allocations: 6.344 kB / 0.7223 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.4937, allocations: 0.5156 kB / 0.7223 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.4937, allocations: 11.84 kB / 0.7223 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.4938, allocations: 11.83 kB / 0.7223 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4938, allocations: 6.062 kB / 0.7223 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.4938, allocations: 87.12 kB / 0.7224 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4938, allocations: 4 kB / 0.7224 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001476/0.494, allocations: 10.83 kB / 0.7224 GB, free: 19.58 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 (intLesEquThr.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.0003326/0.4943, allocations: 0.7125 MB / 0.7231 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.4945, allocations: 55.44 kB / 0.7232 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.4945, allocations: 0 / 0.7232 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.4945, allocations: 37.56 kB / 0.7232 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4948, allocations: 9.688 kB / 0.7232 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.4959, allocations: 1.323 MB / 0.7245 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.354e-05/0.4959, allocations: 69.19 kB / 0.7246 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.496, allocations: 8.406 kB / 0.7246 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.496, allocations: 19.14 kB / 0.7246 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.496, allocations: 1.25 kB / 0.7246 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.5119, allocations: 2.539 MB / 0.7271 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.424, allocations: 9.906 kB / 0.7271 GB, free: 16.67 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.274803830077872] Failed to read output from testmodel.py, exit status != 0: 7.502114505041391 7.512773953 7.020033766 Calling exit ...