Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.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.0007677/0.0007677, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009449/0.0009449, allocations: 208.1 kB / 22.25 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.8753/0.8753, allocations: 230.6 MB / 256 MB, free: 9.594 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.03604/0.03604, allocations: 12.18 MB / 324.6 MB, free: 6.109 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.0004481/0.0004481, allocations: 31.95 kB / 384.1 MB, free: 10.53 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.54/1.54, allocations: 353.9 MB / 0.7787 GB, free: 4.57 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.Sort,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sort",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.001354/0.001354, allocations: 124.8 kB / 1.06 GB, free: 24.77 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2008, allocations: 134.9 MB / 1.192 GB, free: 7.473 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001497/0.2023, allocations: 0.7899 MB / 1.192 GB, free: 6.684 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009727/0.2033, allocations: 1.042 MB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.2033, allocations: 4 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.2034, allocations: 15.8 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.341e-05/0.2035, allocations: 19.81 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.2038, allocations: 91.81 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2039, allocations: 119.6 kB / 1.194 GB, free: 5.383 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2041, allocations: 37.27 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.2041, allocations: 55.83 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.2042, allocations: 55.75 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2042, allocations: 12 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.2043, allocations: 87.86 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.2044, allocations: 43.84 kB / 1.194 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.2044, allocations: 47.66 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.2046, allocations: 215.3 kB / 1.194 GB, free: 4.836 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2046, allocations: 4 kB / 1.194 GB, free: 4.832 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2046, allocations: 0 / 1.194 GB, free: 4.832 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2046, allocations: 0 / 1.194 GB, free: 4.832 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0005112/0.2052, allocations: 425.4 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2052, allocations: 8.031 kB / 1.195 GB, free: 4.375 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.2052, allocations: 50.73 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.2053, allocations: 16.8 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2054, allocations: 157.7 kB / 1.195 GB, free: 4.125 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.2054, allocations: 4.375 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2054, allocations: 12.31 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2058, allocations: 206.1 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2058, allocations: 3.938 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2058, allocations: 4 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2058, allocations: 4 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.2061, allocations: 227.6 kB / 1.195 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.2067, allocations: 495.1 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2069, allocations: 142.5 kB / 1.196 GB, free: 2.992 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.2071, allocations: 150.2 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.2072, allocations: 4 kB / 1.196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2072, allocations: 30.56 kB / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.2072, allocations: 0 / 1.196 GB, free: 2.801 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0007334/0.2079, allocations: 483.5 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2079, allocations: 55.34 kB / 1.197 GB, free: 2.258 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.208, allocations: 154.2 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.208, allocations: 25.7 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.2081, allocations: 112.5 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.2081, allocations: 75.45 kB / 1.197 GB, free: 1.879 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.2082, allocations: 33.7 kB / 1.197 GB, free: 1.84 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.2083, allocations: 330.8 kB / 1.197 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2085, allocations: 131.9 kB / 1.197 GB, free: 1.379 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2087, allocations: 131.9 kB / 1.198 GB, free: 1.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.2093, allocations: 298.3 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2093, allocations: 0 / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004204/0.2097, allocations: 334.8 kB / 1.198 GB, free: 0.625 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2097, allocations: 4 kB / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.2097, allocations: 0 / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2098, allocations: 0 / 1.198 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2099, allocations: 43.88 kB / 1.198 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2099, allocations: 0 / 1.198 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.21, allocations: 39.86 kB / 1.198 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.21, allocations: 7.984 kB / 1.198 GB, free: 0.5312 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: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001054/0.2101, allocations: 136.1 kB / 1.198 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.2101, allocations: 15.91 kB / 1.198 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.2106, allocations: 367.3 kB / 1.199 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2106, allocations: 3.938 kB / 1.199 GB, free: 8 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2106, allocations: 3.938 kB / 1.199 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2106, allocations: 0 / 1.199 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2108, allocations: 232.6 kB / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2108, allocations: 0 / 1.199 GB, free: 15.73 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.2109, allocations: 35.95 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2109, allocations: 4 kB / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2109, allocations: 0 / 1.199 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2109, allocations: 3.938 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2109, allocations: 0 / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.2113, allocations: 447 kB / 1.199 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.2114, allocations: 19.8 kB / 1.2 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2114, allocations: 4 kB / 1.2 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.2115, allocations: 31.89 kB / 1.2 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2115, allocations: 15.97 kB / 1.2 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2115, allocations: 12 kB / 1.2 GB, free: 15.16 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.2116, allocations: 114 kB / 1.2 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 0 / 1.2 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001995/0.2118, allocations: 43.92 kB / 1.2 GB, free: 15 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007277/0.2125, allocations: 0.9816 MB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.213, allocations: 363.1 kB / 1.201 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.213, allocations: 3.938 kB / 1.201 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.2132, allocations: 219.2 kB / 1.201 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2134, allocations: 26.11 kB / 1.201 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.2155, allocations: 2.344 MB / 1.204 GB, free: 10.95 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.2155, allocations: 118.8 kB / 1.204 GB, free: 10.81 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.5e-05/0.2156, allocations: 19.97 kB / 1.204 GB, free: 10.79 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.2156, allocations: 43.42 kB / 1.204 GB, free: 10.75 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.2156, allocations: 0 / 1.204 GB, free: 10.75 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.2319, allocations: 4.604 MB / 1.208 GB, free: 6.301 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.945/6.177, allocations: 64 / 1.208 GB, free: 6.301 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort_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_Sort.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.221243182197213] Failed to read output from testmodel.py, exit status != 0: 6.250136070884764 6.258130058 6.051925819 Calling exit ...