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.000821/0.000821, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001018/0.001018, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.941/0.941, allocations: 230.6 MB / 256 MB, free: 9.777 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.03824/0.03824, allocations: 12.17 MB / 324.6 MB, free: 6.262 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.0004169/0.0004169, allocations: 27.95 kB / 384.1 MB, free: 10.67 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.683/1.683, allocations: 353.8 MB / 0.7787 GB, free: 3.152 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.001452/0.001452, allocations: 130 kB / 1.06 GB, free: 25 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2426, allocations: 134.9 MB / 1.192 GB, free: 7.855 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001704/0.2443, allocations: 0.8443 MB / 1.193 GB, free: 7.012 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.2453, allocations: 1.042 MB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.2454, allocations: 4 kB / 1.194 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2455, allocations: 15.86 kB / 1.194 GB, free: 5.938 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.2455, allocations: 27.72 kB / 1.194 GB, free: 5.91 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2459, allocations: 83.84 kB / 1.194 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.246, allocations: 135.6 kB / 1.194 GB, free: 5.695 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2462, allocations: 33.28 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.2462, allocations: 47.84 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.183e-05/0.2463, allocations: 63.75 kB / 1.194 GB, free: 5.551 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2463, allocations: 12 kB / 1.194 GB, free: 5.539 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2464, allocations: 95.84 kB / 1.194 GB, free: 5.445 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.2465, allocations: 43.83 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.2465, allocations: 59.61 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.2468, allocations: 215.3 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2468, allocations: 4 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2468, allocations: 0 / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2468, allocations: 0 / 1.194 GB, free: 5.129 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.0005634/0.2473, allocations: 429.3 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2474, allocations: 12.03 kB / 1.195 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.2474, allocations: 46.73 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.2475, allocations: 20.8 kB / 1.195 GB, free: 4.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2476, allocations: 147.5 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2476, allocations: 8.375 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.2476, allocations: 4.375 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.248, allocations: 202.1 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.248, allocations: 7.938 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.248, allocations: 4 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.248, allocations: 4 kB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.2484, allocations: 227.6 kB / 1.196 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.249, allocations: 0.4952 MB / 1.196 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.2492, allocations: 150.5 kB / 1.196 GB, free: 3.273 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2494, allocations: 140.8 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.2495, allocations: 11.98 kB / 1.196 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2495, allocations: 30.56 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.2495, allocations: 0 / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0007356/0.2502, allocations: 484.6 kB / 1.197 GB, free: 2.605 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2502, allocations: 55.34 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.2503, allocations: 153.7 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2503, allocations: 37.7 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.2504, allocations: 108.5 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.2504, allocations: 68.8 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.2505, allocations: 33.7 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.2506, allocations: 326.8 kB / 1.198 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.2508, allocations: 132 kB / 1.198 GB, free: 1.668 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.2509, allocations: 139.8 kB / 1.198 GB, free: 1.531 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/0.2516, allocations: 302.7 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2516, allocations: 0 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004319/0.252, allocations: 330.2 kB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.252, allocations: 8 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2521, allocations: 0 / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2521, allocations: 0 / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2522, allocations: 39.89 kB / 1.198 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2522, allocations: 4 kB / 1.198 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.328e-05/0.2523, allocations: 39.84 kB / 1.198 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.2523, allocations: 4 kB / 1.198 GB, free: 0.8125 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 9.624e-05/0.2524, allocations: 137.8 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2524, allocations: 11.91 kB / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/0.2529, allocations: 370.4 kB / 1.199 GB, free: 296 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2529, allocations: 11.94 kB / 1.199 GB, free: 284 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2529, allocations: 4 kB / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2529, allocations: 0 / 1.199 GB, free: 280 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2531, allocations: 236.5 kB / 1.199 GB, free: 0 / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2531, allocations: 0 / 1.199 GB, free: 0 / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2532, allocations: 40 kB / 1.199 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2532, allocations: 3.984 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.2532, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2532, allocations: 7.938 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2532, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.2537, allocations: 443 kB / 1.2 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.2537, allocations: 23.8 kB / 1.2 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2537, allocations: 0 / 1.2 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.2538, allocations: 31.89 kB / 1.2 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2538, allocations: 11.98 kB / 1.2 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2538, allocations: 4 kB / 1.2 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.222e-05/0.2539, allocations: 115.1 kB / 1.2 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2539, allocations: 8 kB / 1.2 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002014/0.2541, allocations: 35.94 kB / 1.2 GB, free: 15.27 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.0007606/0.2549, allocations: 0.9953 MB / 1.201 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.2554, allocations: 363.2 kB / 1.201 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2554, allocations: 3.938 kB / 1.201 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.2556, allocations: 219.3 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.2558, allocations: 21.48 kB / 1.201 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.2579, allocations: 2.34 MB / 1.204 GB, free: 11.21 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.2581, allocations: 0.7314 MB / 1.204 GB, free: 10.45 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.342e-05/0.2581, allocations: 19.97 kB / 1.204 GB, free: 10.43 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2582, allocations: 43.42 kB / 1.205 GB, free: 10.39 MB / 0.8387 GB Notification: Performance of SimCode: time 4.1e-07/0.2582, allocations: 0 / 1.205 GB, free: 10.39 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.2757, allocations: 4.176 MB / 1.209 GB, free: 6.363 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.967, allocations: 7.188 kB / 1.209 GB, free: 6.359 MB / 0.8387 GB " [Timeout remaining time 653] (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: 11.503063520416617] Failed to read output from testmodel.py, exit status != 0: 7.043338600546122 7.052443375 6.803984509 Calling exit ...