Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001048/0.001048, 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.0007118/0.0007118, allocations: 209.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.89/0.89, allocations: 230.6 MB / 256 MB, free: 9.609 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.03554/0.03554, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0003946/0.0003946, allocations: 31.92 kB / 384.1 MB, free: 10.51 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.529/1.529, allocations: 353.9 MB / 0.7787 GB, free: 4.555 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.MultiMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MultiMax",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.001395/0.001395, allocations: 123.2 kB / 1.06 GB, free: 24.75 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1904, allocations: 134.9 MB / 1.192 GB, free: 7.5 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001358/0.1917, allocations: 0.6415 MB / 1.192 GB, free: 6.859 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.1919, allocations: 7.984 kB / 1.192 GB, free: 6.852 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.1919, allocations: 3.938 kB / 1.192 GB, free: 6.848 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.17e-05/0.192, allocations: 7.938 kB / 1.192 GB, free: 6.84 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.192, allocations: 0 / 1.192 GB, free: 6.84 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.456e-05/0.1921, allocations: 4 kB / 1.192 GB, free: 6.836 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.988e-05/0.1922, allocations: 35.84 kB / 1.192 GB, free: 6.801 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1923, allocations: 19.98 kB / 1.192 GB, free: 6.781 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.1923, allocations: 15.94 kB / 1.192 GB, free: 6.766 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.1923, allocations: 19.92 kB / 1.192 GB, free: 6.746 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1923, allocations: 4 kB / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.1924, allocations: 0 / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.1924, allocations: 7.984 kB / 1.192 GB, free: 6.734 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1924, allocations: 15.88 kB / 1.192 GB, free: 6.719 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.107e-05/0.1925, allocations: 59.95 kB / 1.193 GB, free: 6.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1925, allocations: 0 / 1.193 GB, free: 6.66 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1925, allocations: 0 / 1.193 GB, free: 6.66 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1925, allocations: 0 / 1.193 GB, free: 6.66 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00027/0.1928, allocations: 274.2 kB / 1.193 GB, free: 6.359 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1928, allocations: 12.03 kB / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.1929, allocations: 38.75 kB / 1.193 GB, free: 6.301 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1929, allocations: 8.891 kB / 1.193 GB, free: 6.293 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.193, allocations: 122.5 kB / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.193, allocations: 384 / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.193, allocations: 4.375 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.1931, allocations: 78.17 kB / 1.193 GB, free: 6.062 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1932, allocations: 7.875 kB / 1.193 GB, free: 6.055 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1932, allocations: 4 kB / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1932, allocations: 0 / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.1932, allocations: 51.91 kB / 1.193 GB, free: 6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1936, allocations: 458.6 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.1937, allocations: 165.1 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.1937, allocations: 88.17 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1937, allocations: 75.28 kB / 1.194 GB, free: 5.172 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1937, allocations: 109.8 kB / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1937, allocations: 0 / 1.194 GB, free: 5.055 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.758e-05/0.1938, allocations: 37.59 kB / 1.194 GB, free: 5.012 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1938, allocations: 130.6 kB / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.194, allocations: 179.1 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.194, allocations: 25.7 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.194, allocations: 96.14 kB / 1.194 GB, free: 4.559 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.194, allocations: 0 / 1.194 GB, free: 4.559 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.1941, allocations: 13.72 kB / 1.194 GB, free: 4.539 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.1941, allocations: 318.8 kB / 1.195 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.1942, allocations: 7.938 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.1942, allocations: 12.09 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.1942, allocations: 20.78 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1942, allocations: 0 / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001079/0.1943, allocations: 57.58 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1943, allocations: 8.094 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1943, allocations: 0 / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1943, allocations: 0 / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.1944, allocations: 7.938 kB / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1944, allocations: 0 / 1.195 GB, free: 4.098 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.1944, allocations: 11.89 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1944, allocations: 3.984 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.569e-05/0.1945, allocations: 193.1 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.1945, allocations: 109 kB / 1.195 GB, free: 3.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.1946, allocations: 116.7 kB / 1.195 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.1946, allocations: 188.2 kB / 1.195 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.795e-05/0.1947, allocations: 180.2 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.809e-05/0.1947, allocations: 184.2 kB / 1.196 GB, free: 3.086 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.1949, allocations: 389.7 kB / 1.196 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.492e-05/0.1949, allocations: 101 kB / 1.196 GB, free: 2.551 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.195, allocations: 109 kB / 1.196 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.423e-05/0.195, allocations: 184.2 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.195, allocations: 176.3 kB / 1.197 GB, free: 2.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.886e-05/0.1951, allocations: 192.1 kB / 1.197 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-05/0.1951, allocations: 176.3 kB / 1.197 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1953, allocations: 319.7 kB / 1.197 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1953, allocations: 112.9 kB / 1.197 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.1954, allocations: 180.2 kB / 1.198 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.1954, allocations: 113.2 kB / 1.198 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1955, allocations: 180.2 kB / 1.198 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.1955, allocations: 113 kB / 1.198 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.1955, allocations: 133.1 kB / 1.198 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1955, allocations: 0 / 1.198 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001339/0.1957, allocations: 4 kB / 1.198 GB, free: 0.5078 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004038/0.1961, allocations: 0.8009 MB / 1.199 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.1961, allocations: 19.92 kB / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1961, allocations: 0 / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.1962, allocations: 0 / 1.199 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1965, allocations: 467.6 kB / 1.199 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008712/0.1973, allocations: 1.6 MB / 1.201 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.1974, allocations: 75.33 kB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1974, allocations: 8 kB / 1.201 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.1974, allocations: 15.42 kB / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of SimCode: time 3.5e-07/0.1974, allocations: 64 / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.2112, allocations: 2.157 MB / 1.203 GB, free: 11.38 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.853/6.064, allocations: 7.219 kB / 1.203 GB, free: 11.37 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax_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_MultiMax.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.08371698949486] Failed to read output from testmodel.py, exit status != 0: 6.1381773529574275 6.147110324 5.952980235 Calling exit ...