Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.001252/0.001252, allocations: 105.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.001514/0.001514, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9628/0.9628, allocations: 230.6 MB / 256 MB, free: 9.434 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.7602/0.7602, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_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.001115/0.001115, allocations: 66.73 kB / 0.7178 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4688, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001736/0.4705, allocations: 0.787 MB / 0.8182 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.4713, allocations: 0.9051 MB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.629e-05/0.4714, allocations: 0 / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.4715, allocations: 20.45 kB / 0.8191 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.86e-05/0.4715, allocations: 9.203 kB / 0.8191 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.4717, allocations: 35.39 kB / 0.8191 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4718, allocations: 76.34 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.472, allocations: 23.56 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.4721, allocations: 42.22 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.4721, allocations: 27.52 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4722, allocations: 5.219 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.952e-05/0.4722, allocations: 13.7 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.4722, allocations: 13.41 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.4722, allocations: 25.38 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.4724, allocations: 82.16 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4724, allocations: 1.281 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4724, allocations: 0.7031 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4724, allocations: 0 / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004452/0.4728, allocations: 315.7 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4729, allocations: 10.78 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.4729, allocations: 35.97 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4731, allocations: 22.48 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.4733, allocations: 142.2 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4733, allocations: 8.062 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.4733, allocations: 2.031 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.4734, allocations: 72.16 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4734, allocations: 3.938 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4734, allocations: 0 / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4735, allocations: 3.5 kB / 0.82 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.243e-05/0.4735, allocations: 29.09 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.4739, allocations: 279.6 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.474, allocations: 45 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.4741, allocations: 16.7 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4741, allocations: 96 / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.4741, allocations: 40.47 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.4741, allocations: 0 / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001785/0.4743, allocations: 80.23 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4743, allocations: 52.86 kB / 0.8205 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.4744, allocations: 140.3 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4744, allocations: 25.7 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.4745, allocations: 102.6 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4745, allocations: 6.703 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.4745, allocations: 20.86 kB / 0.8208 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.4746, allocations: 321.3 kB / 0.8211 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.4746, allocations: 15.73 kB / 0.8211 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.4747, allocations: 29.09 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.109e-05/0.4747, allocations: 24.53 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4747, allocations: 0 / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.531e-05/0.4748, allocations: 69.91 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4748, allocations: 5.625 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4748, allocations: 0.7031 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4748, allocations: 1.531 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.4749, allocations: 5.625 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.4749, allocations: 0 / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.4749, allocations: 14.09 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.4749, allocations: 3.938 kB / 0.8213 GB, free: 14.18 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.717e-05/0.475, allocations: 121.8 kB / 0.8214 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.475, allocations: 3.953 kB / 0.8214 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.475, allocations: 17.11 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.475, allocations: 0.75 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.475, allocations: 0 / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.475, allocations: 5.031 kB / 0.8214 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.4752, allocations: 150.2 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4752, allocations: 0 / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.4752, allocations: 8.703 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4752, allocations: 0.9375 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4752, allocations: 0.6094 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4752, allocations: 2.625 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4752, allocations: 0 / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.4753, allocations: 161.3 kB / 0.8217 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.4753, allocations: 11.56 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.4753, allocations: 4.547 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.4754, allocations: 10.8 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4754, allocations: 12.28 kB / 0.8218 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.4754, allocations: 0.6094 kB / 0.8218 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.4755, allocations: 105.8 kB / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4755, allocations: 0 / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000141/0.4756, allocations: 7.75 kB / 0.8219 GB, free: 13.62 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002827/0.4759, allocations: 0.6871 MB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.476, allocations: 40.92 kB / 0.8226 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.476, allocations: 4 kB / 0.8226 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.476, allocations: 18.88 kB / 0.8226 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.4762, allocations: 14.28 kB / 0.8226 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.4772, allocations: 1.387 MB / 0.824 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.4772, allocations: 81.25 kB / 0.8241 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.4772, allocations: 11.55 kB / 0.8241 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4773, allocations: 20.86 kB / 0.8241 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4773, allocations: 0 / 0.8241 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.4935, allocations: 2.571 MB / 0.8266 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.382, allocations: 11.53 kB / 0.8266 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.30659805657342] Failed to read output from testmodel.py, exit status != 0: 7.461693436373025 7.477402946 7.002146007 Calling exit ...