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.0008292/0.0008292, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008079/0.0008079, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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.984/0.984, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.8005/0.8005, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: 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.0009638/0.0009638, allocations: 71.14 kB / 0.7178 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5071, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001522/0.5086, allocations: 0.6845 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007353/0.5093, allocations: 0.8514 MB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.5094, allocations: 3.938 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.5094, allocations: 0.7031 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.5095, allocations: 10.16 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.5096, allocations: 31.61 kB / 0.8189 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.5097, allocations: 44.64 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.5098, allocations: 9.953 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.5099, allocations: 20.42 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.51, allocations: 34.09 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.51, allocations: 5.656 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.51, allocations: 4.656 kB / 0.819 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.51, allocations: 6.203 kB / 0.819 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.5101, allocations: 15.48 kB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.5102, allocations: 53.59 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5102, allocations: 0 / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5102, allocations: 0.9062 kB / 0.8191 GB, free: 56 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5102, allocations: 0 / 0.8191 GB, free: 56 kB / 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.0004632/0.5107, allocations: 286.8 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5107, allocations: 14.28 kB / 0.8194 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.5107, allocations: 35.81 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.5108, allocations: 4.156 kB / 0.8194 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/0.5108, allocations: 109.6 kB / 0.8195 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5109, allocations: 8.172 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5109, allocations: 5.438 kB / 0.8196 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.511, allocations: 65.22 kB / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.511, allocations: 0 / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.511, allocations: 0 / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.511, allocations: 0.5625 kB / 0.8196 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.5112, allocations: 56.33 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.5115, allocations: 268.2 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.5117, allocations: 61.2 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.5117, allocations: 26.02 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5117, allocations: 1.281 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.5117, allocations: 36.91 kB / 0.8201 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.5118, allocations: 4 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002731/0.512, allocations: 104.6 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.5121, allocations: 54.73 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.5121, allocations: 112.4 kB / 0.8203 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.5121, allocations: 25.7 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.5122, allocations: 93.25 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.5122, allocations: 10.56 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.5122, allocations: 16.03 kB / 0.8205 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.5123, allocations: 325.4 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.5124, allocations: 24.09 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/0.5124, allocations: 21.67 kB / 0.8208 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5125, allocations: 55.45 kB / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5125, allocations: 0.6562 kB / 0.8209 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.5127, allocations: 86.06 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.5127, allocations: 9.938 kB / 0.821 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5127, allocations: 4 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5127, allocations: 5.969 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.5128, allocations: 10.67 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5128, allocations: 0 / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.5129, allocations: 8.594 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.5129, allocations: 8.031 kB / 0.821 GB, free: 14.41 MB / 0.6198 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 6.575e-05/0.5129, allocations: 116.9 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.5129, allocations: 2.25 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.513, allocations: 9.219 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.513, allocations: 3.188 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.513, allocations: 0 / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.513, allocations: 0.75 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.5131, allocations: 139 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5131, allocations: 3.531 kB / 0.8212 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.5132, allocations: 14.69 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5132, allocations: 0 / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5132, allocations: 0.6094 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5132, allocations: 0.75 kB / 0.8213 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5132, allocations: 4 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.5134, allocations: 191.5 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.5134, allocations: 4.5 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.5134, allocations: 0.75 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.5134, allocations: 8.797 kB / 0.8215 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.5135, allocations: 17.77 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5135, allocations: 0.6094 kB / 0.8215 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.684e-05/0.5135, allocations: 89.73 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5135, allocations: 6.656 kB / 0.8216 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000145/0.5137, allocations: 14.11 kB / 0.8216 GB, free: 13.84 MB / 0.6198 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.0003692/0.514, allocations: 0.707 MB / 0.8223 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.5142, allocations: 56.78 kB / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5142, allocations: 0 / 0.8223 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.5143, allocations: 33.86 kB / 0.8224 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.5145, allocations: 7.953 kB / 0.8224 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.5156, allocations: 1.319 MB / 0.8237 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.5156, allocations: 65.53 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.5157, allocations: 8.219 kB / 0.8237 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.5157, allocations: 18.59 kB / 0.8237 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5157, allocations: 3.938 kB / 0.8238 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.5335, allocations: 2.425 MB / 0.8261 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/7.17, allocations: 15.77 kB / 0.8261 GB, free: 10.96 MB / 0.6198 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: 10.25740424497053] Failed to read output from testmodel.py, exit status != 0: 7.247332846280187 7.261158002 6.748708021 Calling exit ...