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.0008366/0.0008366, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.001299/0.001299, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9217/0.9217, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7335/0.7335, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.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: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.6182 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.669e-05, allocations: 5.781 kB / 0.6182 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001248/0.001265, allocations: 0.7879 MB / 0.6189 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.002073, allocations: 0.9054 MB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.002146, allocations: 4 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.00226, allocations: 15.8 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.118e-05/0.002292, allocations: 11.88 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.002477, allocations: 39.89 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002581, allocations: 71.78 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.002701, allocations: 23.97 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.002828, allocations: 51.89 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.002889, allocations: 15.92 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.002907, allocations: 8 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.002948, allocations: 11.94 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.002964, allocations: 19.91 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.002989, allocations: 19.92 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.003127, allocations: 83.67 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003129, allocations: 4 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.00313, allocations: 0 / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003134, allocations: 0 / 0.6202 GB, free: 11.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004093/0.003543, allocations: 315.9 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.003585, allocations: 11.97 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.003618, allocations: 38.75 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.003723, allocations: 16.88 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.003908, allocations: 145.7 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.003918, allocations: 4.375 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.003926, allocations: 384 / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.004039, allocations: 70.17 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.004046, allocations: 192 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004055, allocations: 384 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004061, allocations: 4.125 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.004133, allocations: 31.98 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.004465, allocations: 287.7 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.004564, allocations: 38.56 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.004595, allocations: 21 kB / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.004608, allocations: 0 / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.004627, allocations: 34.56 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.004628, allocations: 4.031 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001721/0.0048, allocations: 81.69 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.004827, allocations: 51.41 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.004902, allocations: 139.9 kB / 0.6214 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.004915, allocations: 29.69 kB / 0.6215 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.004959, allocations: 96.09 kB / 0.6215 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.004971, allocations: 7.953 kB / 0.6216 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.005, allocations: 21.7 kB / 0.6216 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.005096, allocations: 318.8 kB / 0.6219 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.005128, allocations: 15.98 kB / 0.6219 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.005151, allocations: 15.98 kB / 0.6219 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.0052, allocations: 32.78 kB / 0.6219 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005202, allocations: 4 kB / 0.6219 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.094e-05/0.005273, allocations: 57.69 kB / 0.622 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005286, allocations: 11.98 kB / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.00529, allocations: 0 / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.005301, allocations: 0 / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.311e-05/0.005344, allocations: 8 kB / 0.622 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.005349, allocations: 0 / 0.622 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.005384, allocations: 11.94 kB / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005389, allocations: 7.938 kB / 0.622 GB, free: 9.27 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: 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.822e-05/0.005447, allocations: 126.7 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.00546, allocations: 4 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.005482, allocations: 12.33 kB / 0.6222 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.005483, allocations: 3.938 kB / 0.6222 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.005487, allocations: 4 kB / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.00549, allocations: 0 / 0.6222 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.005599, allocations: 152.6 kB / 0.6223 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005599, allocations: 0 / 0.6223 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.005614, allocations: 4 kB / 0.6223 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.005615, allocations: 0 / 0.6223 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.005622, allocations: 7.984 kB / 0.6223 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-07/0.005623, allocations: 0 / 0.6223 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005624, allocations: 0 / 0.6223 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.005726, allocations: 159.5 kB / 0.6225 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.005735, allocations: 3.953 kB / 0.6225 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.00575, allocations: 3.938 kB / 0.6225 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.005797, allocations: 15.98 kB / 0.6225 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.005835, allocations: 7.984 kB / 0.6225 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.005837, allocations: 0 / 0.6225 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.00588, allocations: 113.5 kB / 0.6226 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00588, allocations: 0 / 0.6226 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001468/0.006027, allocations: 7.953 kB / 0.6226 GB, free: 8.586 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 (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.0003314/0.006359, allocations: 0.6892 MB / 0.6233 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.006492, allocations: 36.02 kB / 0.6233 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006493, allocations: 3.938 kB / 0.6233 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.006523, allocations: 15.98 kB / 0.6234 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.006717, allocations: 15.98 kB / 0.6234 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.007651, allocations: 1.377 MB / 0.6247 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.007702, allocations: 75.33 kB / 0.6248 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.007734, allocations: 15.92 kB / 0.6248 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.007779, allocations: 20.5 kB / 0.6248 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.007779, allocations: 0 / 0.6248 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.02549, allocations: 2.703 MB / 0.6275 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/6.743, allocations: 3.375 kB / 0.6275 GB, free: 3.668 MB / 0.5886 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: 9.594525407068431] Failed to read output from testmodel.py, exit status != 0: 6.824358507990837 6.836696697 6.831089135 Calling exit ...