Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.000764/0.000764, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008712/0.0008712, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9252/0.9252, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7305/0.7305, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.694e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001954/0.001981, allocations: 0.7875 MB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003012, allocations: 1.042 MB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.003066, allocations: 3.938 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.003172, allocations: 11.86 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.003212, allocations: 31.73 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.003613, allocations: 91.81 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003746, allocations: 127.6 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.003883, allocations: 29.28 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003984, allocations: 71.86 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.00404, allocations: 47.88 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.004061, allocations: 12 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.004186, allocations: 91.8 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.00424, allocations: 43.89 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.004288, allocations: 35.86 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.004523, allocations: 235.2 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.004526, allocations: 0 / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004527, allocations: 0 / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004531, allocations: 0 / 0.6208 GB, free: 10.92 MB / 0.5886 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.0005546/0.005086, allocations: 417.4 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.005125, allocations: 12.03 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.005165, allocations: 50.73 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.005197, allocations: 20.8 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005352, allocations: 145.5 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.005362, allocations: 8.375 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.005375, allocations: 4.375 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.005739, allocations: 204.1 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.005749, allocations: 4.188 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.005761, allocations: 8.312 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.005768, allocations: 4.125 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.006161, allocations: 223.7 kB / 0.6218 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.006778, allocations: 479.6 kB / 0.6223 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.007012, allocations: 154.3 kB / 0.6224 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.007211, allocations: 136.7 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.007259, allocations: 8 kB / 0.6225 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.007278, allocations: 34.56 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.007279, allocations: 4 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.000818/0.008097, allocations: 477.2 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.008128, allocations: 51.41 kB / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.008223, allocations: 153.5 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.008236, allocations: 25.7 kB / 0.6233 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.008283, allocations: 112.5 kB / 0.6234 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.00833, allocations: 67.39 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.008374, allocations: 33.7 kB / 0.6235 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.008454, allocations: 334.7 kB / 0.6238 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.008668, allocations: 136.1 kB / 0.6239 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.00886, allocations: 131.8 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.009256, allocations: 307.1 kB / 0.6243 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.009258, allocations: 0 / 0.6243 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005156/0.009774, allocations: 329.9 kB / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.00979, allocations: 8 kB / 0.6247 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.009803, allocations: 0 / 0.6247 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.009815, allocations: 4 kB / 0.6247 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.00994, allocations: 39.94 kB / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.009945, allocations: 0 / 0.6247 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.01003, allocations: 35.8 kB / 0.6247 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.01006, allocations: 11.98 kB / 0.6247 GB, free: 6.645 MB / 0.5886 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.0001052/0.01016, allocations: 140.9 kB / 0.6249 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.01018, allocations: 11.91 kB / 0.6249 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.01076, allocations: 367.6 kB / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01076, allocations: 0 / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01077, allocations: 0 / 0.6252 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01077, allocations: 3.984 kB / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.01096, allocations: 236.5 kB / 0.6255 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.01097, allocations: 7.938 kB / 0.6255 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.873e-05/0.01107, allocations: 31.95 kB / 0.6255 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01107, allocations: 0 / 0.6255 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01108, allocations: 8 kB / 0.6255 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01109, allocations: 4 kB / 0.6255 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01109, allocations: 0 / 0.6255 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.01158, allocations: 443.8 kB / 0.6259 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.0116, allocations: 23.8 kB / 0.626 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.01161, allocations: 0 / 0.626 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.01171, allocations: 31.95 kB / 0.626 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01176, allocations: 15.97 kB / 0.626 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01177, allocations: 0 / 0.626 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.01182, allocations: 114.7 kB / 0.6261 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 0 / 0.6261 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002171/0.01204, allocations: 51.92 kB / 0.6262 GB, free: 5.117 MB / 0.5886 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.0007826/0.01282, allocations: 0.9817 MB / 0.6271 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.01332, allocations: 367.1 kB / 0.6275 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01332, allocations: 0 / 0.6275 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.01357, allocations: 219.3 kB / 0.6277 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01381, allocations: 23.84 kB / 0.6277 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.01601, allocations: 2.361 MB / 0.63 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.0161, allocations: 118.9 kB / 0.6301 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.651e-05/0.01616, allocations: 19.92 kB / 0.6301 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.01623, allocations: 48.48 kB / 0.6302 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/0.01623, allocations: 4 kB / 0.6302 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.03586, allocations: 4.724 MB / 0.6348 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.845, allocations: 3.984 kB / 0.6348 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sort.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.687991983257234] Failed to read output from testmodel.py, exit status != 0: 6.929650318808854 6.938220498 6.93192862 Calling exit ...