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/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.066/0.066, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000854/0.000854, allocations: 95.2 kB / 35.33 MB, free: 1.078 MB / 24.77 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.0009089/0.0009089, allocations: 165.3 kB / 38.73 MB, free: 2.516 MB / 24.77 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.9167/0.9167, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.008074/0.008074, allocations: 0.8262 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.603/1.603, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.192e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001123/0.001135, allocations: 0.8196 MB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008579/0.001993, allocations: 1.057 MB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.00204, allocations: 8 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 8.72e-05/0.002127, allocations: 15.8 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.002165, allocations: 15.81 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.002457, allocations: 103.7 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.002562, allocations: 123.6 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.002653, allocations: 37.8 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.002727, allocations: 67.88 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.002778, allocations: 55.8 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.002795, allocations: 12 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.00289, allocations: 79.92 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.00293, allocations: 47.84 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.002961, allocations: 43.83 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.003126, allocations: 171.3 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.263e-06/0.003128, allocations: 0 / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003128, allocations: 0 / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.003133, allocations: 4 kB / 0.6405 GB, free: 11.4 MB / 0.6043 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.000385/0.003518, allocations: 368 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.003547, allocations: 15.98 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.003574, allocations: 12.92 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.003682, allocations: 153.3 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.00369, allocations: 8.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.003702, allocations: 4.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.003871, allocations: 133.5 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.003878, allocations: 192 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.003886, allocations: 384 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.003891, allocations: 384 / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.003938, allocations: 31.8 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.00426, allocations: 305.5 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.004319, allocations: 90.41 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.004349, allocations: 24.86 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.00438, allocations: 7.984 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.004396, allocations: 30.56 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=25): time 8.72e-07/0.004397, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of matching and sorting (n=25): time 0.0001618/0.004558, allocations: 137.8 kB / 0.6418 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.004581, allocations: 55.41 kB / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.548e-05/0.004646, allocations: 150.6 kB / 0.642 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004657, allocations: 25.7 kB / 0.642 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.004687, allocations: 104.5 kB / 0.6421 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.004725, allocations: 71.36 kB / 0.6422 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.004762, allocations: 33.69 kB / 0.6422 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.004829, allocations: 326.8 kB / 0.6425 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.004857, allocations: 22.77 kB / 0.6425 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.004882, allocations: 20.64 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.004954, allocations: 86.5 kB / 0.6426 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.004955, allocations: 0 / 0.6426 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003242/0.005279, allocations: 89.69 kB / 0.6427 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.005287, allocations: 4 kB / 0.6427 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.005299, allocations: 7.984 kB / 0.6427 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.005307, allocations: 0 / 0.6427 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.005376, allocations: 19.98 kB / 0.6427 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005379, allocations: 240 / 0.6427 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.369e-05/0.005422, allocations: 23.88 kB / 0.6428 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.005438, allocations: 7.984 kB / 0.6428 GB, free: 8.906 MB / 0.6043 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 6.521e-05/0.005503, allocations: 128.6 kB / 0.6429 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.005521, allocations: 7.938 kB / 0.6429 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.00565, allocations: 142.8 kB / 0.643 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005652, allocations: 0 / 0.643 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005653, allocations: 0 / 0.643 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.005656, allocations: 3.984 kB / 0.643 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.00576, allocations: 117.8 kB / 0.6431 GB, free: 8.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.005764, allocations: 4 kB / 0.6432 GB, free: 8.477 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.005814, allocations: 31.91 kB / 0.6432 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005815, allocations: 0 / 0.6432 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.005821, allocations: 0 / 0.6432 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.005822, allocations: 4 kB / 0.6432 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005823, allocations: 0 / 0.6432 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.005957, allocations: 258 kB / 0.6434 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.005971, allocations: 23.77 kB / 0.6435 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.005982, allocations: 4 kB / 0.6435 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.006038, allocations: 15.92 kB / 0.6435 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.006091, allocations: 23.95 kB / 0.6435 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.006097, allocations: 4 kB / 0.6435 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.421e-05/0.006122, allocations: 28.83 kB / 0.6435 GB, free: 8.07 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006122, allocations: 0 / 0.6435 GB, free: 8.07 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001497/0.006271, allocations: 43.95 kB / 0.6436 GB, free: 8.027 MB / 0.6043 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.0001162/0.006388, allocations: 108.3 kB / 0.6437 GB, free: 7.914 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.006519, allocations: 140.2 kB / 0.6438 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.006523, allocations: 4 kB / 0.6438 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.006585, allocations: 104.2 kB / 0.6439 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.006727, allocations: 27.98 kB / 0.6439 GB, free: 7.613 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.007044, allocations: 291.3 kB / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.075e-05/0.007085, allocations: 87.27 kB / 0.6443 GB, free: 7.195 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.007112, allocations: 7.984 kB / 0.6443 GB, free: 7.188 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.00718, allocations: 71.36 kB / 0.6444 GB, free: 7.117 MB / 0.6043 GB Notification: Performance of SimCode: time 6.11e-07/0.007181, allocations: 0 / 0.6444 GB, free: 7.117 MB / 0.6043 GB Notification: Performance of Templates: time 0.003204/0.01038, allocations: 2.044 MB / 0.6464 GB, free: 5.078 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (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 & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.372553235851228]