Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001245/0.001245, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0011/0.0011, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.912/0.912, 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 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.7085/0.7085, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.482e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001491/0.001516, allocations: 0.6801 MB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007116/0.002228, allocations: 0.8548 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.002264, allocations: 3.938 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.002289, allocations: 3.938 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.002357, allocations: 11.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.002485, allocations: 15.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.002558, allocations: 43.91 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.002655, allocations: 15.97 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.002726, allocations: 31.92 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.002773, allocations: 11.98 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.002795, allocations: 11.94 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.002804, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.002822, allocations: 19.91 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.002843, allocations: 11.98 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.015e-05/0.002933, allocations: 55.72 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002935, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002936, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.002941, allocations: 4 kB / 0.6199 GB, free: 11.86 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003598/0.003301, allocations: 282.3 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.003337, allocations: 8.031 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.003365, allocations: 30.75 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.138e-05/0.003386, allocations: 8.891 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.83e-05/0.003475, allocations: 113.7 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.003488, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.003497, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.003629, allocations: 69.95 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003636, allocations: 0 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.003645, allocations: 4 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.003649, allocations: 4 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.003762, allocations: 55.89 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.004072, allocations: 251.9 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.004192, allocations: 62.55 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.861e-05/0.004251, allocations: 36.84 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.004264, allocations: 3.938 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.00428, allocations: 30.56 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004281, allocations: 4 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002416/0.004522, allocations: 105.6 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.004549, allocations: 51.41 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/0.004607, allocations: 113.8 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.004617, allocations: 25.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.004656, allocations: 88.12 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.004673, allocations: 11.95 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.004699, allocations: 13.72 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.00477, allocations: 326.8 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.004823, allocations: 23.92 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.004871, allocations: 27.97 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.005201, allocations: 48.81 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005202, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.005325, allocations: 89.61 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005337, allocations: 6.188 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005342, allocations: 3.984 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.005352, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.005422, allocations: 15.92 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.005428, allocations: 3.938 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.005461, allocations: 11.94 kB / 0.6217 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.005467, allocations: 3.984 kB / 0.6217 GB, free: 9.766 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: 2 (reaToInt.y,intGreThr.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.401e-05/0.005521, allocations: 118.8 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.005535, allocations: 4.281 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.005553, allocations: 16 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005555, allocations: 3.984 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.005559, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005561, allocations: 0 / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.005665, allocations: 144.7 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.005665, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.005699, allocations: 15.98 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.0057, allocations: 0 / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.005707, allocations: 3.938 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005707, allocations: 0 / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005708, allocations: 4 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.005866, allocations: 183.4 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.005875, allocations: 7.953 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.005885, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.005933, allocations: 7.984 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.005977, allocations: 11.98 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.005981, allocations: 4 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.73e-05/0.006008, allocations: 87.27 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006008, allocations: 0 / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000144/0.006152, allocations: 12 kB / 0.6223 GB, free: 9.082 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 (intGreThr.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.0003006/0.006453, allocations: 0.7046 MB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.006594, allocations: 59.88 kB / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006595, allocations: 0 / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.00665, allocations: 31.97 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.006851, allocations: 8 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.007758, allocations: 1.323 MB / 0.6244 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.067e-05/0.007799, allocations: 67.34 kB / 0.6244 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.007872, allocations: 8 kB / 0.6245 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.007917, allocations: 16.48 kB / 0.6245 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.007918, allocations: 4 kB / 0.6245 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.02107, allocations: 2.557 MB / 0.627 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.823, allocations: 12.03 kB / 0.627 GB, free: 4.328 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.641798578202724] Failed to read output from testmodel.py, exit status != 0: 6.90747004467994 6.921121312 6.916256658 Calling exit ...