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.0008391/0.0008391, 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.0009199/0.0009199, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9459/0.9459, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7773/0.7773, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [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.0009292/0.0009292, allocations: 74.39 kB / 0.7182 GB, free: 4 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4888, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001403/0.4902, allocations: 0.7866 MB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.4909, allocations: 0.9092 MB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.491, allocations: 7.438 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.4911, allocations: 9.562 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.305e-05/0.4912, allocations: 15.64 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.4913, allocations: 38.03 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.4915, allocations: 71.39 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.4916, allocations: 25.08 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4917, allocations: 42.53 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.4918, allocations: 28.16 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.4918, allocations: 4.812 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.614e-05/0.4918, allocations: 10.89 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.4918, allocations: 10.42 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.4918, allocations: 29.33 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.492, allocations: 74.09 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.492, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.492, allocations: 0 / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.492, allocations: 7.688 kB / 0.8199 GB, free: 15.68 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.0004152/0.4924, allocations: 322.1 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4924, allocations: 9.281 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.4925, allocations: 36.08 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.4926, allocations: 18.08 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.4928, allocations: 146.5 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.4928, allocations: 2.594 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4928, allocations: 7.125 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.493, allocations: 64.19 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.493, allocations: 3.938 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.493, allocations: 0 / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.493, allocations: 2.344 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.4931, allocations: 36.27 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.4935, allocations: 273.8 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.4936, allocations: 55.47 kB / 0.8208 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.4936, allocations: 19.03 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4936, allocations: 0.6562 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4937, allocations: 30.56 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4937, allocations: 3.844 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002109/0.4939, allocations: 72.62 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.4939, allocations: 57.28 kB / 0.821 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.494, allocations: 138 kB / 0.8211 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.494, allocations: 31.02 kB / 0.8211 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.4941, allocations: 106.5 kB / 0.8212 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.4941, allocations: 11.38 kB / 0.8212 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.4941, allocations: 15.75 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.4942, allocations: 322.5 kB / 0.8216 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.4943, allocations: 16.47 kB / 0.8216 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.4943, allocations: 13.45 kB / 0.8216 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.4943, allocations: 29.64 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4943, allocations: 1.375 kB / 0.8216 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.135e-05/0.4944, allocations: 73.73 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4945, allocations: 7.594 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4945, allocations: 0.7031 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4945, allocations: 336 / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.4945, allocations: 4.312 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4945, allocations: 0.7031 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.4946, allocations: 10.84 kB / 0.8217 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4946, allocations: 3.938 kB / 0.8217 GB, free: 13.98 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.782e-05/0.4946, allocations: 119.3 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.4947, allocations: 17.67 kB / 0.8218 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.4947, allocations: 9.844 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4947, allocations: 0 / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4947, allocations: 3.969 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4947, allocations: 0.75 kB / 0.8219 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4948, allocations: 146.6 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4948, allocations: 0 / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.4948, allocations: 6.469 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4949, allocations: 0.6562 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4949, allocations: 0.6562 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.4949, allocations: 4 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4949, allocations: 2.312 kB / 0.822 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.495, allocations: 163.3 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.495, allocations: 7.547 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.495, allocations: 0.7031 kB / 0.8222 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.4951, allocations: 15.95 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.4951, allocations: 12.22 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4951, allocations: 0.6562 kB / 0.8222 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.4952, allocations: 108.2 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4952, allocations: 0 / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001435/0.4953, allocations: 8.812 kB / 0.8223 GB, free: 13.42 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.0002976/0.4956, allocations: 0.6922 MB / 0.823 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.4957, allocations: 32.2 kB / 0.823 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4957, allocations: 0 / 0.823 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.4958, allocations: 16.36 kB / 0.823 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.496, allocations: 13.69 kB / 0.823 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4971, allocations: 1.389 MB / 0.8244 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.87e-05/0.4972, allocations: 78.67 kB / 0.8245 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.4972, allocations: 6.625 kB / 0.8245 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.4973, allocations: 24.77 kB / 0.8245 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4973, allocations: 4 kB / 0.8245 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.5161, allocations: 2.572 MB / 0.827 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.803/7.319, allocations: 5.156 kB / 0.827 GB, free: 10.48 MB / 0.6198 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.251274446956813] Failed to read output from testmodel.py, exit status != 0: 7.397708686999977 7.410501503 6.9161941 Calling exit ...