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.001307/0.001307, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001378/0.001378, allocations: 181 kB / 23.36 MB, free: 1.133 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.9516/0.9516, allocations: 177.1 MB / 203.8 MB, free: 5.469 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-545:108: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-545:116: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.7927/0.7927, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.543e-05, allocations: 2.312 kB / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001493/0.001519, allocations: 0.821 MB / 480.9 MB, free: 6.031 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.002613, allocations: 1.062 MB / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.002666, allocations: 0 / 481.9 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.00278, allocations: 20.34 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.00283, allocations: 22.22 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.003217, allocations: 95.8 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003346, allocations: 131.6 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.003469, allocations: 34.8 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.003559, allocations: 71.88 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.003615, allocations: 45.17 kB / 482.4 MB, free: 4.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.003635, allocations: 12 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.003759, allocations: 87.89 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.003806, allocations: 44.59 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.003838, allocations: 31.86 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.004044, allocations: 184.4 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004046, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.004047, allocations: 3.938 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004052, allocations: 0.5938 kB / 482.7 MB, free: 4.219 MB / 442.7 MB 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.0004127/0.004464, allocations: 364.5 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.004499, allocations: 12.03 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.004535, allocations: 13.59 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.004662, allocations: 142.4 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.004672, allocations: 9.594 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.004686, allocations: 4.375 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.004882, allocations: 133.1 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004889, allocations: 192 / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.004898, allocations: 384 / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.004905, allocations: 5.375 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.004952, allocations: 33.08 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.00531, allocations: 298.7 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.005379, allocations: 83.86 kB / 483.8 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.005414, allocations: 32.84 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.005454, allocations: 4 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.005476, allocations: 39.28 kB / 483.9 MB, free: 2.984 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.295e-06/0.005478, allocations: 1.312 kB / 483.9 MB, free: 2.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001855/0.005664, allocations: 130.4 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.005692, allocations: 51.41 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.005767, allocations: 150.6 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005779, allocations: 25.7 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.005818, allocations: 113.3 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.005859, allocations: 67.38 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.005896, allocations: 30.58 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.005971, allocations: 330.8 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.006005, allocations: 26.77 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.417e-05/0.00603, allocations: 16.59 kB / 484.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.139e-05/0.006101, allocations: 78.44 kB / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006103, allocations: 0 / 484.9 MB, free: 1.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001027/0.006206, allocations: 102.8 kB / 485 MB, free: 1.828 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.006217, allocations: 8 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.006227, allocations: 0 / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.006238, allocations: 0.7812 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.006331, allocations: 28.59 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006335, allocations: 0 / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.006385, allocations: 24.5 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.006402, allocations: 4.625 kB / 485 MB, free: 1.766 MB / 442.7 MB 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.546e-05/0.006478, allocations: 125.8 kB / 485.2 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.006498, allocations: 7.984 kB / 485.2 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.006648, allocations: 136.8 kB / 485.3 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.006651, allocations: 1.781 kB / 485.3 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006652, allocations: 4 kB / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006655, allocations: 0 / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.006772, allocations: 115.3 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.006775, allocations: 0 / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.00683, allocations: 23.92 kB / 485.4 MB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006832, allocations: 0.9062 kB / 485.4 MB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.00684, allocations: 8 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006842, allocations: 0 / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006843, allocations: 6 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.006984, allocations: 251.3 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.007, allocations: 26.27 kB / 485.7 MB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.00701, allocations: 0 / 485.7 MB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.007067, allocations: 15.97 kB / 485.7 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.00711, allocations: 16.58 kB / 485.8 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.007119, allocations: 5.75 kB / 485.8 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.007143, allocations: 36.47 kB / 485.8 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007143, allocations: 0 / 485.8 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.007311, allocations: 43.89 kB / 485.8 MB, free: 0.918 MB / 442.7 MB 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.0001516/0.007463, allocations: 110.1 kB / 485.9 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.007611, allocations: 132.8 kB / 486.1 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.007615, allocations: 5.625 kB / 486.1 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.007685, allocations: 109.3 kB / 486.2 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.007853, allocations: 29.34 kB / 486.2 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.008219, allocations: 301.2 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.008263, allocations: 79.33 kB / 486.6 MB, free: 88 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.383e-05/0.008297, allocations: 3.094 kB / 486.6 MB, free: 88 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.008372, allocations: 75.36 kB / 486.7 MB, free: 12 kB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008372, allocations: 0 / 486.7 MB, free: 12 kB / 442.7 MB Notification: Performance of Templates: time 0.003606/0.01198, allocations: 2.029 MB / 488.7 MB, free: 14.14 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5936821587383747]