Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001312/0.001312, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.001265/0.001265, allocations: 162 kB / 22.43 MB, free: 2.145 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.8901/0.8901, allocations: 177.2 MB / 202.8 MB, free: 5.785 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.7033/0.7033, allocations: 154.9 MB / 414.2 MB, free: 0.5273 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.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_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.0009601/0.0009601, allocations: 76.95 kB / 0.6187 GB, free: 13.28 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.4568/0.4578, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001497/0.4593, allocations: 0.7784 MB / 0.719 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.4601, allocations: 0.9064 MB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.4602, allocations: 6.062 kB / 0.7199 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.4603, allocations: 10.78 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.298e-05/0.4604, allocations: 18.72 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.4606, allocations: 33.12 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.4607, allocations: 71.16 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4608, allocations: 22.75 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.461, allocations: 56.55 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.461, allocations: 27.8 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.461, allocations: 6.281 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-05/0.4611, allocations: 8.703 kB / 0.7202 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.4611, allocations: 14.84 kB / 0.7202 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.4611, allocations: 25.2 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.4613, allocations: 98.73 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4613, allocations: 0.7031 kB / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4613, allocations: 0 / 0.7203 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.4613, allocations: 0 / 0.7203 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004163/0.4617, allocations: 316.6 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4618, allocations: 10.78 kB / 0.7206 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.4618, allocations: 36.66 kB / 0.7206 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.4619, allocations: 17.92 kB / 0.7207 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.4621, allocations: 147.1 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4621, allocations: 5.688 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4621, allocations: 4.594 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.4623, allocations: 58.72 kB / 0.7209 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.4623, allocations: 3.938 kB / 0.7209 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.4623, allocations: 5.188 kB / 0.7209 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4623, allocations: 1.156 kB / 0.7209 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.4623, allocations: 35.84 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.4627, allocations: 278.7 kB / 0.7212 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.4628, allocations: 50.95 kB / 0.7212 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.4628, allocations: 18.81 kB / 0.7212 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4628, allocations: 0 / 0.7212 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.4629, allocations: 32.41 kB / 0.7213 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.4629, allocations: 1.25 kB / 0.7213 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001888/0.4631, allocations: 75.34 kB / 0.7213 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.4631, allocations: 56.41 kB / 0.7214 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.4631, allocations: 136.4 kB / 0.7215 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.4632, allocations: 27.33 kB / 0.7216 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.4632, allocations: 97.91 kB / 0.7216 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.4632, allocations: 10.75 kB / 0.7217 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.4633, allocations: 20.11 kB / 0.7217 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.4633, allocations: 323.5 kB / 0.722 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.4634, allocations: 21.47 kB / 0.722 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.4634, allocations: 15.44 kB / 0.722 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.4635, allocations: 35.27 kB / 0.7221 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4635, allocations: 0 / 0.7221 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.81e-05/0.4636, allocations: 66.86 kB / 0.7221 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4636, allocations: 7.562 kB / 0.7221 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4636, allocations: 3.938 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4636, allocations: 0 / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.4637, allocations: 5.453 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4637, allocations: 0.5156 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.4637, allocations: 9.969 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4637, allocations: 13.88 kB / 0.7222 GB, free: 20.09 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: 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 5.35e-05/0.4638, allocations: 116.1 kB / 0.7223 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.4638, allocations: 7.516 kB / 0.7223 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.4638, allocations: 8.453 kB / 0.7223 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4638, allocations: 1.031 kB / 0.7223 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4638, allocations: 0 / 0.7223 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4638, allocations: 1.094 kB / 0.7223 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.4639, allocations: 149.4 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4639, allocations: 2.125 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.4639, allocations: 7.797 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4639, allocations: 0 / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.464, allocations: 2.016 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.464, allocations: 0 / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.464, allocations: 1.219 kB / 0.7224 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.4641, allocations: 164.2 kB / 0.7226 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.4641, allocations: 7.531 kB / 0.7226 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4641, allocations: 5.156 kB / 0.7226 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.4641, allocations: 13.88 kB / 0.7226 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4642, allocations: 7.562 kB / 0.7226 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4642, allocations: 5.859 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.4642, allocations: 108.8 kB / 0.7227 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4642, allocations: 0 / 0.7227 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001424/0.4644, allocations: 7.406 kB / 0.7227 GB, free: 19.54 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 (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.0002445/0.4646, allocations: 0.692 MB / 0.7234 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4647, allocations: 33.47 kB / 0.7235 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4647, allocations: 3.938 kB / 0.7235 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.4648, allocations: 20.89 kB / 0.7235 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.465, allocations: 13.58 kB / 0.7235 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.4658, allocations: 1.399 MB / 0.7249 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.4659, allocations: 82.34 kB / 0.7249 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.4659, allocations: 8.484 kB / 0.7249 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.466, allocations: 26.31 kB / 0.725 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.466, allocations: 0 / 0.725 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.4858, allocations: 2.684 MB / 0.7276 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/7.338, allocations: 9.297 kB / 0.7276 GB, free: 16.55 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.13451517408248] Failed to read output from testmodel.py, exit status != 0: 7.415954806027003 7.426247666 6.962931906 Calling exit ...