Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001396/0.001396, allocations: 80.94 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.001661/0.001661, allocations: 173 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.9775/0.9775, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7911/0.7911, allocations: 154.9 MB / 415.1 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.816e-05, allocations: 4.203 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001457/0.001485, allocations: 0.8191 MB / 481.2 MB, free: 5.723 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.002537, allocations: 1.069 MB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.002592, allocations: 4 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.002692, allocations: 12.52 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.00274, allocations: 24.23 kB / 482.4 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.003115, allocations: 102.2 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.003245, allocations: 121.8 kB / 482.6 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003355, allocations: 33.94 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.003442, allocations: 76.39 kB / 482.7 MB, free: 4.301 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.003497, allocations: 45.44 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.003516, allocations: 8 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.003639, allocations: 87.91 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.003685, allocations: 43.83 kB / 482.9 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.003722, allocations: 36.45 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.003909, allocations: 183.3 kB / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003911, allocations: 1.812 kB / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003912, allocations: 0 / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.003915, allocations: 0 / 483.1 MB, free: 3.906 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.0003833/0.004298, allocations: 377 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.00433, allocations: 8.031 kB / 483.5 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.004361, allocations: 10 kB / 483.5 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004493, allocations: 149.5 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.004501, allocations: 4.375 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.004516, allocations: 9 kB / 483.6 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.004702, allocations: 121.2 kB / 483.7 MB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.004709, allocations: 4.188 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.004718, allocations: 7 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004722, allocations: 384 / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.004766, allocations: 31.92 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.005117, allocations: 297.5 kB / 484.1 MB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/0.005189, allocations: 91.27 kB / 484.2 MB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.005223, allocations: 24.84 kB / 484.2 MB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.005263, allocations: 12.81 kB / 484.2 MB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.005284, allocations: 34.56 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/0.005286, allocations: 1.062 kB / 484.2 MB, free: 2.664 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001871/0.005473, allocations: 132.4 kB / 484.4 MB, free: 2.535 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.005502, allocations: 55.41 kB / 484.4 MB, free: 2.469 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.005582, allocations: 155.3 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.005594, allocations: 29.64 kB / 484.6 MB, free: 2.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.005626, allocations: 101.1 kB / 484.7 MB, free: 2.168 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.005668, allocations: 67.38 kB / 484.8 MB, free: 2.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.005706, allocations: 38.3 kB / 484.8 MB, free: 2.059 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.005781, allocations: 327.4 kB / 485.1 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.005815, allocations: 22.81 kB / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.00584, allocations: 16.62 kB / 485.2 MB, free: 1.691 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.137e-05/0.005912, allocations: 75.72 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005914, allocations: 0.625 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001/0.006014, allocations: 101 kB / 485.3 MB, free: 1.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006025, allocations: 4 kB / 485.3 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.006037, allocations: 0.5312 kB / 485.3 MB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.006046, allocations: 4.562 kB / 485.3 MB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.006128, allocations: 29.3 kB / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.006131, allocations: 0 / 485.4 MB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.006179, allocations: 31.86 kB / 485.4 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.006195, allocations: 0.9062 kB / 485.4 MB, free: 1.445 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.704e-05/0.006273, allocations: 125.4 kB / 485.5 MB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.006291, allocations: 8.609 kB / 485.5 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.006442, allocations: 130.8 kB / 485.7 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006444, allocations: 1.312 kB / 485.7 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.006446, allocations: 1.359 kB / 485.7 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006449, allocations: 3.938 kB / 485.7 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.006564, allocations: 122.3 kB / 485.8 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.006568, allocations: 0 / 485.8 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.006626, allocations: 24.98 kB / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006627, allocations: 0 / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006633, allocations: 1.062 kB / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006634, allocations: 0 / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006635, allocations: 0 / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.006789, allocations: 259.8 kB / 486.1 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.006803, allocations: 19.78 kB / 486.1 MB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.006814, allocations: 0 / 486.1 MB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.006872, allocations: 21.39 kB / 486.1 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.006916, allocations: 19.91 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.006923, allocations: 0 / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.551e-05/0.006948, allocations: 37.5 kB / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006948, allocations: 0 / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.007119, allocations: 49.31 kB / 486.2 MB, free: 0.5938 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.0001441/0.007263, allocations: 101.9 kB / 486.3 MB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.007407, allocations: 133.1 kB / 486.4 MB, free: 352 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.007411, allocations: 0 / 486.4 MB, free: 352 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.007477, allocations: 116.7 kB / 486.6 MB, free: 220 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.007633, allocations: 22.06 kB / 486.6 MB, free: 200 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.008005, allocations: 304.9 kB / 486.9 MB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.008046, allocations: 76.27 kB / 486.9 MB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.008079, allocations: 9.891 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.008151, allocations: 72.2 kB / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of SimCode: time 5.72e-07/0.008152, allocations: 0 / 487 MB, free: 15.7 MB / 458.7 MB Notification: Performance of Templates: time 0.003436/0.01159, allocations: 2.033 MB / 489.1 MB, free: 13.83 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.784360881894827]