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.001048/0.001048, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 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.001991/0.001991, allocations: 173 kB / 23.02 MB, free: 1.543 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 1.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8414/0.8414, allocations: 154.9 MB / 414.8 MB, free: 420 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 1.904e-06/1.904e-06, allocations: 0 / 0.5208 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.761e-05, allocations: 4.609 kB / 0.5208 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001604/0.001632, allocations: 0.8215 MB / 0.5216 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002785, allocations: 1.066 MB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.002849, allocations: 0 / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.002968, allocations: 12.61 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.003019, allocations: 24.69 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.003469, allocations: 94.5 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.003609, allocations: 123.6 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.003744, allocations: 33.28 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.328e-05/0.003837, allocations: 71.88 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.003894, allocations: 43.88 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.003918, allocations: 12 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.004057, allocations: 95.83 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.004103, allocations: 33.23 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.004148, allocations: 43.78 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.004382, allocations: 179.3 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004385, allocations: 0 / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/0.004386, allocations: 4.562 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004391, allocations: 1.031 kB / 0.5233 GB, free: 15.12 MB / 0.4948 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.0005252/0.004916, allocations: 493 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.004952, allocations: 8.031 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.005008, allocations: 24.8 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005163, allocations: 152.3 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.005176, allocations: 8.938 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.005193, allocations: 9.344 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.005467, allocations: 128.5 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005478, allocations: 192 / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.005492, allocations: 4.375 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.005502, allocations: 384 / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.005581, allocations: 39.92 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.00616, allocations: 421.2 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.006258, allocations: 54.98 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.006313, allocations: 28.88 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-05/0.006372, allocations: 11.98 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.006399, allocations: 37.39 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.006401, allocations: 1.438 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.000304/0.006705, allocations: 153.8 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.006746, allocations: 55.41 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.006874, allocations: 217 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.006888, allocations: 26.48 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.006956, allocations: 159.2 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.007009, allocations: 68.23 kB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.007065, allocations: 43.36 kB / 0.5254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.007222, allocations: 0.5067 MB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.007271, allocations: 20 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.007314, allocations: 27.33 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.797e-05/0.007412, allocations: 75.67 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.007415, allocations: 0 / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001593/0.007574, allocations: 118.2 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.007588, allocations: 4 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.007604, allocations: 4.5 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.007619, allocations: 3.938 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.007729, allocations: 29.2 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.007734, allocations: 0 / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.007789, allocations: 28.36 kB / 0.5262 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.00781, allocations: 5.031 kB / 0.5262 GB, free: 12.02 MB / 0.4948 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.83e-05/0.007909, allocations: 165.6 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.007934, allocations: 15.91 kB / 0.5264 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.008158, allocations: 160 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.008161, allocations: 0 / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.008165, allocations: 4.594 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.00817, allocations: 3.938 kB / 0.5265 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.008327, allocations: 183.6 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.008332, allocations: 0 / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.0084, allocations: 19.98 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.008403, allocations: 0 / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.008413, allocations: 8 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008415, allocations: 320 / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.008418, allocations: 3.984 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.008628, allocations: 285.2 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.008644, allocations: 22.36 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.008662, allocations: 3.984 kB / 0.527 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.008727, allocations: 15.98 kB / 0.527 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.008786, allocations: 19.92 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.008795, allocations: 0 / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.008856, allocations: 150.6 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008856, allocations: 4.75 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002103/0.009066, allocations: 39.94 kB / 0.5272 GB, free: 10.87 MB / 0.4948 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.0001991/0.009265, allocations: 126.8 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.00949, allocations: 155 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.009493, allocations: 1 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.009587, allocations: 123 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.009829, allocations: 28.55 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.01029, allocations: 295.5 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.01034, allocations: 85.84 kB / 0.528 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.408e-05/0.0104, allocations: 15.97 kB / 0.528 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.01044, allocations: 12.5 kB / 0.528 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.01044, allocations: 1.844 kB / 0.528 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of Templates: time 0.004699/0.01514, allocations: 2.357 MB / 0.5303 GB, free: 7.742 MB / 0.4948 GB " [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.824898310005665]