Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008757/0.0008757, allocations: 72.47 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.0008556/0.0008556, 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.8626/0.8626, allocations: 177.2 MB / 202.8 MB, free: 5.637 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.6917/0.6917, allocations: 154.7 MB / 413.9 MB, free: 0.6523 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.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_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.0008969/0.0008969, allocations: 72.16 kB / 0.6183 GB, free: 13.58 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4249, allocations: 102 MB / 0.7179 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001364/0.4263, allocations: 0.6903 MB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007061/0.427, allocations: 0.8628 MB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.427, allocations: 0.9688 kB / 0.7194 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.4271, allocations: 5.75 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.4271, allocations: 4.641 kB / 0.7194 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.4273, allocations: 25.94 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.4273, allocations: 52.83 kB / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4274, allocations: 11.34 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.4275, allocations: 25.77 kB / 0.7195 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.4276, allocations: 24.3 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.4276, allocations: 5.594 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.4276, allocations: 3.719 kB / 0.7195 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.4276, allocations: 15.44 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.4276, allocations: 14.25 kB / 0.7196 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.4277, allocations: 49.09 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4277, allocations: 4.516 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4277, allocations: 4 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4278, allocations: 1.062 kB / 0.7196 GB, free: 22.14 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.0003565/0.4281, allocations: 283.7 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.4281, allocations: 9.594 kB / 0.7199 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.23e-05/0.4282, allocations: 36.58 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.4282, allocations: 7.859 kB / 0.72 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.181e-05/0.4283, allocations: 110.8 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4283, allocations: 2.594 kB / 0.7201 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.4283, allocations: 9.875 kB / 0.7201 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4284, allocations: 69.06 kB / 0.7201 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4284, allocations: 0 / 0.7201 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.4284, allocations: 5.062 kB / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.4284, allocations: 0 / 0.7201 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4286, allocations: 49.66 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.4288, allocations: 257.9 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.429, allocations: 59.97 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.429, allocations: 37.38 kB / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.429, allocations: 0 / 0.7205 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.4291, allocations: 33.67 kB / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.4291, allocations: 0 / 0.7206 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.4293, allocations: 104.5 kB / 0.7207 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.4293, allocations: 56.91 kB / 0.7207 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.721e-05/0.4294, allocations: 107.2 kB / 0.7208 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.4294, allocations: 25.7 kB / 0.7208 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.4294, allocations: 96.16 kB / 0.7209 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.4294, allocations: 14.11 kB / 0.7209 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.4294, allocations: 20.19 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.74e-05/0.4295, allocations: 317.4 kB / 0.7213 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.4295, allocations: 22.48 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.4296, allocations: 31.83 kB / 0.7213 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.815e-05/0.4297, allocations: 53.14 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4297, allocations: 5.812 kB / 0.7214 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001325/0.4298, allocations: 86.47 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4298, allocations: 5.719 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4298, allocations: 0 / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.4298, allocations: 1.703 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.4299, allocations: 11.52 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4299, allocations: 0.5156 kB / 0.7215 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.4299, allocations: 16.55 kB / 0.7215 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.43, allocations: 6 kB / 0.7215 GB, free: 20.5 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,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 4.061e-05/0.43, allocations: 110.7 kB / 0.7216 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.43, allocations: 6 kB / 0.7216 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.43, allocations: 10.64 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.43, allocations: 0 / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.43, allocations: 1.734 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.43, allocations: 3.938 kB / 0.7216 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.718e-05/0.4301, allocations: 145.5 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.4301, allocations: 0 / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.4302, allocations: 11.59 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4302, allocations: 5.594 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4302, allocations: 0.8438 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.4302, allocations: 1.125 kB / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.4302, allocations: 0 / 0.7218 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.4303, allocations: 180.3 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.4303, allocations: 3.312 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4303, allocations: 4.703 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.4304, allocations: 8.875 kB / 0.722 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.4304, allocations: 11.33 kB / 0.722 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4304, allocations: 10.38 kB / 0.722 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.4305, allocations: 87.48 kB / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4305, allocations: 0 / 0.7221 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000142/0.4306, allocations: 19.02 kB / 0.7221 GB, free: 19.95 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 (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.0002527/0.4309, allocations: 0.7033 MB / 0.7228 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.431, allocations: 64.73 kB / 0.7228 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.431, allocations: 0 / 0.7228 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.4311, allocations: 36.75 kB / 0.7229 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.4313, allocations: 6.984 kB / 0.7229 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.4321, allocations: 1.323 MB / 0.7242 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.739e-05/0.4322, allocations: 68.62 kB / 0.7242 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.165e-05/0.4322, allocations: 4.406 kB / 0.7242 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.4322, allocations: 22.53 kB / 0.7243 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of SimCode: time 6.02e-07/0.4322, allocations: 1.188 kB / 0.7243 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.4514, allocations: 2.543 MB / 0.7268 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7, allocations: 10.84 kB / 0.7268 GB, free: 17.03 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.649949963088147] Failed to read output from testmodel.py, exit status != 0: 7.076919980929233 7.085785717 6.656363195 Calling exit ...