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.04203/0.04203, allocations: 9.131 MB / 28.99 MB, free: 6.098 MB / 24.77 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.0008531/0.0008531, allocations: 95.2 kB / 35.33 MB, free: 0.7734 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.001079/0.001079, allocations: 170.4 kB / 38.73 MB, free: 2.145 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.9553/0.9553, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.00434/0.00434, allocations: 0.8263 MB / 276.5 MB, free: 0.7266 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.868/1.868, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.493e-06/1.493e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.627e-05, allocations: 2.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001339/0.001355, allocations: 0.8628 MB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.002409, allocations: 1.061 MB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.002456, allocations: 0 / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.002559, allocations: 7.875 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.002605, allocations: 31.72 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.002927, allocations: 83.77 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.003049, allocations: 127.6 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.003164, allocations: 41.8 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.00325, allocations: 75.8 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.108e-05/0.003301, allocations: 43.83 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.003322, allocations: 12 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.003463, allocations: 95.91 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.003506, allocations: 43.83 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.003536, allocations: 31.92 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.003724, allocations: 179.3 kB / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003726, allocations: 0 / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003726, allocations: 0 / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003729, allocations: 0 / 0.6406 GB, free: 11.31 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.0003767/0.004106, allocations: 380 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.004137, allocations: 15.98 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.004169, allocations: 16.92 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004296, allocations: 145.3 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.004307, allocations: 8.375 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.004316, allocations: 4.375 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.004503, allocations: 125.6 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.004509, allocations: 4.188 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.004518, allocations: 4.375 kB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.004524, allocations: 4.375 kB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.00457, allocations: 31.8 kB / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.004918, allocations: 297.5 kB / 0.6416 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.232e-05/0.00498, allocations: 82.42 kB / 0.6417 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.005013, allocations: 24.86 kB / 0.6417 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.005049, allocations: 12 kB / 0.6417 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.005069, allocations: 34.55 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=25): time 2.414e-06/0.005071, allocations: 7.984 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of matching and sorting (n=25): time 0.0001747/0.005246, allocations: 125.8 kB / 0.6419 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.00527, allocations: 51.41 kB / 0.6419 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.005346, allocations: 158.5 kB / 0.6421 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.005358, allocations: 25.7 kB / 0.6421 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.005665, allocations: 104.5 kB / 0.6422 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.005705, allocations: 67.38 kB / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.005742, allocations: 33.67 kB / 0.6423 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.005814, allocations: 326.8 kB / 0.6426 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.005847, allocations: 30.77 kB / 0.6426 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.005873, allocations: 20.72 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.427e-05/0.005947, allocations: 86.48 kB / 0.6427 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005949, allocations: 0 / 0.6427 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.877e-05/0.006047, allocations: 85.69 kB / 0.6428 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006058, allocations: 8 kB / 0.6428 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.00607, allocations: 3.984 kB / 0.6428 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.00608, allocations: 3.938 kB / 0.6428 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.006158, allocations: 23.98 kB / 0.6428 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006161, allocations: 0 / 0.6428 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.006205, allocations: 27.88 kB / 0.6429 GB, free: 8.812 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.006222, allocations: 4 kB / 0.6429 GB, free: 8.809 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 7.091e-05/0.006292, allocations: 124.6 kB / 0.643 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.006313, allocations: 7.938 kB / 0.643 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.006454, allocations: 138.8 kB / 0.6431 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.006457, allocations: 4 kB / 0.6431 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.006459, allocations: 4 kB / 0.6431 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006462, allocations: 4 kB / 0.6431 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.006574, allocations: 117.7 kB / 0.6432 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.006578, allocations: 4 kB / 0.6433 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.006636, allocations: 27.91 kB / 0.6433 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006638, allocations: 0 / 0.6433 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006643, allocations: 0 / 0.6433 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006644, allocations: 0 / 0.6433 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006645, allocations: 0 / 0.6433 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.006781, allocations: 262 kB / 0.6435 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.006795, allocations: 19.78 kB / 0.6435 GB, free: 8.059 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.006806, allocations: 8 kB / 0.6436 GB, free: 8.051 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.006862, allocations: 15.98 kB / 0.6436 GB, free: 8.035 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.006903, allocations: 11.97 kB / 0.6436 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.00691, allocations: 4 kB / 0.6436 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.006933, allocations: 32.83 kB / 0.6436 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006933, allocations: 0 / 0.6436 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001462/0.007079, allocations: 39.95 kB / 0.6437 GB, free: 7.945 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.0001181/0.007197, allocations: 112.3 kB / 0.6438 GB, free: 7.828 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.007329, allocations: 132.2 kB / 0.6439 GB, free: 7.684 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.007333, allocations: 8 kB / 0.6439 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.007398, allocations: 108.2 kB / 0.644 GB, free: 7.555 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.007559, allocations: 23.92 kB / 0.644 GB, free: 7.531 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.007885, allocations: 303.3 kB / 0.6443 GB, free: 7.207 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.007926, allocations: 79.27 kB / 0.6444 GB, free: 7.109 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.007956, allocations: 11.92 kB / 0.6444 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.008028, allocations: 71.36 kB / 0.6445 GB, free: 7.027 MB / 0.6043 GB Notification: Performance of SimCode: time 7.52e-07/0.008029, allocations: 0 / 0.6445 GB, free: 7.027 MB / 0.6043 GB Notification: Performance of Templates: time 0.003367/0.0114, allocations: 2.044 MB / 0.6465 GB, free: 4.988 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.566237166058272]