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.0008355/0.0008355, 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.0009299/0.0009299, 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.9141/0.9141, 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/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.7388/0.7388, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [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: IDEAS 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.000959/0.000959, allocations: 70.02 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.482, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001597/0.4836, allocations: 0.7893 MB / 0.8182 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009928/0.4846, allocations: 1.032 MB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.4847, allocations: 7.438 kB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.4848, allocations: 15.34 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.4848, allocations: 21.02 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.4853, allocations: 98.33 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.4854, allocations: 128.1 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4856, allocations: 41.03 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.4857, allocations: 51.38 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.4858, allocations: 54.14 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.4858, allocations: 11.16 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.486, allocations: 90.17 kB / 0.8197 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.486, allocations: 46.22 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.4861, allocations: 42.36 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.4864, allocations: 218.1 kB / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4864, allocations: 0 / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.145e-06/0.4864, allocations: 0 / 0.82 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.4864, allocations: 0 / 0.82 GB, free: 15.65 MB / 0.6198 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.0006459/0.4871, allocations: 428.2 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.4871, allocations: 9.781 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.4872, allocations: 42.62 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.4872, allocations: 19.27 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.4874, allocations: 159.8 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4874, allocations: 6.688 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4874, allocations: 9.438 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.4878, allocations: 211.2 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4878, allocations: 11.86 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4878, allocations: 0.7031 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4878, allocations: 0 / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.4882, allocations: 222.1 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.4888, allocations: 485.4 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.4891, allocations: 150.8 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4893, allocations: 137.2 kB / 0.8218 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.4893, allocations: 11.91 kB / 0.8218 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4893, allocations: 32.78 kB / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.4893, allocations: 0 / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008064/0.4902, allocations: 481 kB / 0.8223 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4902, allocations: 57.69 kB / 0.8224 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4903, allocations: 153.8 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4903, allocations: 25.7 kB / 0.8225 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.4904, allocations: 119 kB / 0.8226 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.576e-05/0.4904, allocations: 69.2 kB / 0.8227 GB, free: 14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.4905, allocations: 38.72 kB / 0.8227 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4906, allocations: 328.6 kB / 0.8231 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4908, allocations: 129.2 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.491, allocations: 134.9 kB / 0.8233 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.4915, allocations: 293.5 kB / 0.8236 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4915, allocations: 7.938 kB / 0.8236 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005045/0.492, allocations: 335.5 kB / 0.8239 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.492, allocations: 9.344 kB / 0.8239 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.492, allocations: 3.203 kB / 0.8239 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.492, allocations: 0 / 0.8239 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4921, allocations: 37.84 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4921, allocations: 1.734 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.4922, allocations: 36.88 kB / 0.824 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4923, allocations: 6.766 kB / 0.824 GB, free: 13.4 MB / 0.6198 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.000109/0.4924, allocations: 140.8 kB / 0.8241 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4924, allocations: 12.81 kB / 0.8242 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.493, allocations: 367.4 kB / 0.8245 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.493, allocations: 5.188 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.493, allocations: 0 / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.493, allocations: 2.062 kB / 0.8245 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.4931, allocations: 226.6 kB / 0.8247 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4932, allocations: 2.094 kB / 0.8247 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.615e-05/0.4932, allocations: 37.91 kB / 0.8248 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4933, allocations: 2.25 kB / 0.8248 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4933, allocations: 1.406 kB / 0.8248 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4933, allocations: 4.594 kB / 0.8248 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4933, allocations: 0 / 0.8248 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4938, allocations: 437.8 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.4938, allocations: 11.84 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.4938, allocations: 7.828 kB / 0.8252 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.4939, allocations: 34.53 kB / 0.8252 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4939, allocations: 13.95 kB / 0.8253 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4939, allocations: 1.719 kB / 0.8253 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.494, allocations: 117.8 kB / 0.8254 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.494, allocations: 3.938 kB / 0.8254 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002213/0.4942, allocations: 46.44 kB / 0.8254 GB, free: 12.61 MB / 0.6198 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.0008697/0.4951, allocations: 0.9887 MB / 0.8264 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005358/0.4956, allocations: 366.8 kB / 0.8267 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4956, allocations: 0 / 0.8267 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.4959, allocations: 223.7 kB / 0.8269 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4961, allocations: 31.06 kB / 0.827 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.4987, allocations: 2.341 MB / 0.8293 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.4988, allocations: 119.7 kB / 0.8294 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.296e-05/0.4989, allocations: 21.61 kB / 0.8294 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.499, allocations: 47.34 kB / 0.8294 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.499, allocations: 0.625 kB / 0.8294 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.5186, allocations: 4.596 MB / 0.8339 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.542, allocations: 6.266 kB / 0.8339 GB, free: 8.871 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.416405696887523] Failed to read output from testmodel.py, exit status != 0: 7.621954089961946 7.636936104 7.148301125 Calling exit ...