Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001342/0.001342, allocations: 109.1 kB / 17.12 MB, free: 5.926 MB / 14.72 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.001382/0.001382, allocations: 205 kB / 20.09 MB, free: 2.977 MB / 14.72 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 1.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.035/1.035, allocations: 150 MB / 459.5 MB, free: 5.344 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002274/0.002274, allocations: 78.86 kB / 0.6362 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1867, allocations: 89.13 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002267/0.1889, allocations: 0.8443 MB / 0.724 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1901, allocations: 0.919 MB / 0.7249 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.1902, allocations: 4 kB / 0.7249 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.1902, allocations: 11.81 kB / 0.725 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1904, allocations: 15.81 kB / 0.725 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1906, allocations: 43.94 kB / 0.725 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1907, allocations: 111.6 kB / 0.7251 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1909, allocations: 25.09 kB / 0.7251 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.191, allocations: 63.77 kB / 0.7252 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.1911, allocations: 55.73 kB / 0.7253 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1912, allocations: 15.94 kB / 0.7253 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.1912, allocations: 16 kB / 0.7253 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.1913, allocations: 19.92 kB / 0.7253 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.1913, allocations: 55.72 kB / 0.7254 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1915, allocations: 127.7 kB / 0.7255 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1915, allocations: 0 / 0.7255 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1915, allocations: 0 / 0.7255 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.1915, allocations: 0 / 0.7255 GB, free: 1.727 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007519/0.1923, allocations: 442.8 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1923, allocations: 16.03 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.1924, allocations: 34.75 kB / 0.726 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.1926, allocations: 36.8 kB / 0.726 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005311/0.1932, allocations: 255.2 kB / 0.7262 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1932, allocations: 12.31 kB / 0.7262 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1932, allocations: 12.38 kB / 0.7263 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.1935, allocations: 116.5 kB / 0.7264 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1935, allocations: 0 / 0.7264 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1935, allocations: 4 kB / 0.7264 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.1935, allocations: 4 kB / 0.7264 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1938, allocations: 75.86 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.1945, allocations: 0.4971 MB / 0.7269 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1948, allocations: 107.8 kB / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.195, allocations: 54.61 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.195, allocations: 0 / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.195, allocations: 38.55 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.195, allocations: 3.938 kB / 0.7271 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006248/0.1956, allocations: 161.7 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.1957, allocations: 106.8 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1958, allocations: 146.2 kB / 0.7275 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.1959, allocations: 29.7 kB / 0.7276 GB, free: 15.34 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.1959, allocations: 112.2 kB / 0.7277 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.196, allocations: 15.86 kB / 0.7277 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.196, allocations: 33.7 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.1963, allocations: 322.8 kB / 0.728 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.1964, allocations: 43.97 kB / 0.7281 GB, free: 14.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.1966, allocations: 85.05 kB / 0.7281 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.1969, allocations: 94.52 kB / 0.7282 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1969, allocations: 0 / 0.7282 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003912/0.1973, allocations: 137.5 kB / 0.7284 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1973, allocations: 9.719 kB / 0.7284 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1973, allocations: 0 / 0.7284 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1974, allocations: 0 / 0.7284 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1975, allocations: 27.86 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1975, allocations: 4 kB / 0.7284 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.1977, allocations: 27.86 kB / 0.7284 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.1977, allocations: 4.062 kB / 0.7284 GB, free: 14.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001139/0.1978, allocations: 124.5 kB / 0.7285 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.1978, allocations: 11.95 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1981, allocations: 97.83 kB / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1981, allocations: 0 / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1981, allocations: 0 / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1982, allocations: 4 kB / 0.7287 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.1985, allocations: 205.6 kB / 0.7289 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1985, allocations: 7.938 kB / 0.7289 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1986, allocations: 15.98 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1986, allocations: 0 / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1986, allocations: 8 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1986, allocations: 3.984 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1986, allocations: 0 / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.1991, allocations: 374.2 kB / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.1992, allocations: 89 kB / 0.7293 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1992, allocations: 4 kB / 0.7293 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.1994, allocations: 19.95 kB / 0.7294 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/0.1995, allocations: 19.97 kB / 0.7294 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1995, allocations: 11.94 kB / 0.7294 GB, free: 13.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.772e-05/0.1996, allocations: 114.5 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1996, allocations: 0 / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003339/0.1999, allocations: 19.95 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009052/0.2008, allocations: 0.9062 MB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.2012, allocations: 95.86 kB / 0.7305 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2012, allocations: 0 / 0.7305 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2014, allocations: 56.02 kB / 0.7305 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.2019, allocations: 11.94 kB / 0.7306 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.2044, allocations: 1.809 MB / 0.7323 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.2047, allocations: 0.7078 MB / 0.733 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.2048, allocations: 16.64 kB / 0.733 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.2049, allocations: 35.42 kB / 0.7331 GB, free: 9.391 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.2049, allocations: 0 / 0.7331 GB, free: 9.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.2308, allocations: 2.717 MB / 0.7357 GB, free: 6.773 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/8.337, allocations: 9.656 kB / 0.7357 GB, free: 6.766 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.389756340999156] Failed to read output from testmodel.py, exit status != 0: 8.407762750051916 8.428851596 8.233456093 Calling exit ...