Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.00119/0.00119, allocations: 101.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.0009543/0.0009543, allocations: 213.7 kB / 22.24 MB, free: 3.59 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.8904/0.8904, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.036/0.036, allocations: 12.19 MB / 324.6 MB, free: 6.078 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004086/0.0004086, allocations: 27.95 kB / 384.1 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.527/1.527, allocations: 353.9 MB / 0.7787 GB, free: 4.52 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001352/0.001352, allocations: 118 kB / 1.06 GB, free: 24.71 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 134.9 MB / 1.192 GB, free: 7.43 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00156/0.189, allocations: 0.8096 MB / 1.193 GB, free: 6.621 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.1899, allocations: 0.9171 MB / 1.193 GB, free: 5.691 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.19, allocations: 4 kB / 1.193 GB, free: 5.688 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.19, allocations: 11.86 kB / 1.193 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.7e-05/0.1901, allocations: 11.81 kB / 1.193 GB, free: 5.664 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1903, allocations: 47.88 kB / 1.193 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1905, allocations: 115.6 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1906, allocations: 21.05 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1907, allocations: 63.78 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.1908, allocations: 59.73 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1908, allocations: 8 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.964e-05/0.1908, allocations: 12 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1909, allocations: 23.92 kB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.1909, allocations: 35.8 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.1911, allocations: 123.8 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1911, allocations: 0 / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1911, allocations: 3.938 kB / 1.194 GB, free: 5.156 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1911, allocations: 0 / 1.194 GB, free: 5.156 MB / 0.823 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.0004679/0.1915, allocations: 377.7 kB / 1.194 GB, free: 4.754 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1916, allocations: 8.031 kB / 1.194 GB, free: 4.746 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/0.1916, allocations: 42.73 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.1918, allocations: 36.77 kB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1921, allocations: 195.4 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1921, allocations: 4.375 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1921, allocations: 8.375 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1923, allocations: 115 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1923, allocations: 7.938 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1923, allocations: 0 / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1923, allocations: 0 / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1924, allocations: 83.91 kB / 1.195 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1928, allocations: 460.1 kB / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.193, allocations: 113.2 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.53e-05/0.1931, allocations: 58.59 kB / 1.195 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1931, allocations: 4 kB / 1.195 GB, free: 3.512 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1931, allocations: 38.5 kB / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.1931, allocations: 0 / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003183/0.1934, allocations: 149.5 kB / 1.196 GB, free: 3.312 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1935, allocations: 115 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.1935, allocations: 150.1 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1936, allocations: 33.7 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.1936, allocations: 104.3 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.1936, allocations: 27.78 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1937, allocations: 29.7 kB / 1.196 GB, free: 2.812 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.1937, allocations: 326.8 kB / 1.196 GB, free: 2.484 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.1938, allocations: 39.97 kB / 1.196 GB, free: 2.445 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1939, allocations: 170.1 kB / 1.197 GB, free: 2.242 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1941, allocations: 86.52 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1941, allocations: 0 / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001813/0.1943, allocations: 137.5 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1943, allocations: 11.98 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1943, allocations: 8.062 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1943, allocations: 0 / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.1944, allocations: 23.92 kB / 1.197 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1944, allocations: 0 / 1.197 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.1944, allocations: 15.98 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1944, allocations: 7.984 kB / 1.197 GB, free: 1.941 MB / 0.823 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 7.085e-05/0.1945, allocations: 121.8 kB / 1.197 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.1945, allocations: 11.91 kB / 1.197 GB, free: 1.801 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1947, allocations: 98.25 kB / 1.197 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1947, allocations: 0 / 1.197 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1947, allocations: 4 kB / 1.197 GB, free: 1.691 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1947, allocations: 4.031 kB / 1.197 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1949, allocations: 168.7 kB / 1.197 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1949, allocations: 3.938 kB / 1.197 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.1949, allocations: 15.98 kB / 1.197 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1949, allocations: 4 kB / 1.197 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1949, allocations: 4 kB / 1.197 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1949, allocations: 0 / 1.197 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1949, allocations: 3.984 kB / 1.197 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1952, allocations: 373.8 kB / 1.198 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.1952, allocations: 11.89 kB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1952, allocations: 8 kB / 1.198 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1953, allocations: 19.97 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.1954, allocations: 23.95 kB / 1.198 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1954, allocations: 7.938 kB / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.1954, allocations: 111.1 kB / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1954, allocations: 0 / 1.198 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002057/0.1956, allocations: 20 kB / 1.198 GB, free: 0.8672 MB / 0.823 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.0004448/0.1961, allocations: 0.9102 MB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1963, allocations: 95.86 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1963, allocations: 3.938 kB / 1.199 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.1964, allocations: 43.91 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1967, allocations: 21.31 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.198, allocations: 1.797 MB / 1.201 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.1981, allocations: 88.25 kB / 1.201 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1981, allocations: 16.64 kB / 1.201 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.1982, allocations: 35.42 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of SimCode: time 9.92e-07/0.1982, allocations: 0 / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2118, allocations: 3.306 MB / 1.204 GB, free: 10.55 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.877/6.089, allocations: 8.188 kB / 1.204 GB, free: 10.55 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.147601830773056] Failed to read output from testmodel.py, exit status != 0: 6.16294417809695 6.171850695 5.979006865 Calling exit ...