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.001754/0.001754, allocations: 85.48 kB / 19.44 MB, free: 344 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.002052/0.002052, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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 1.329/1.329, allocations: 154.8 MB / 414.3 MB, free: 368 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 178] 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.824e-06/1.824e-06, allocations: 0 / 0.5199 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3e-05, allocations: 7.734 kB / 0.5199 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002124/0.002154, allocations: 0.8188 MB / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.004009, allocations: 1.039 MB / 0.5217 GB, free: 348 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.004065, allocations: 0.625 kB / 0.5217 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.004183, allocations: 11.81 kB / 0.5217 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.23e-05/0.004245, allocations: 21.55 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.004671, allocations: 99.75 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.004844, allocations: 125 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.00498, allocations: 37.28 kB / 0.522 GB, free: 56 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.005123, allocations: 71.89 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.005205, allocations: 47.8 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.005236, allocations: 8.656 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.005414, allocations: 93.03 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.649e-05/0.005481, allocations: 39.91 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.00554, allocations: 35.84 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.005892, allocations: 231.2 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.005895, allocations: 0.7188 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005896, allocations: 4.531 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.0059, allocations: 0 / 0.5225 GB, free: 15.54 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.000827/0.006727, allocations: 497.2 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.006767, allocations: 12.03 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.006843, allocations: 24.78 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.007081, allocations: 160.5 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.007093, allocations: 384 / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.007116, allocations: 13 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.007532, allocations: 129.3 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.007542, allocations: 192 / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.007561, allocations: 8.375 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007567, allocations: 4.312 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.00799, allocations: 111.9 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008955/0.008885, allocations: 441.6 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.009168, allocations: 84.62 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.009416, allocations: 71.64 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.009473, allocations: 4.906 kB / 0.524 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.009513, allocations: 37.39 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.212e-06/0.009515, allocations: 4 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0009061/0.01042, allocations: 272.2 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.01047, allocations: 55.41 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.01068, allocations: 222.4 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.01071, allocations: 30.39 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01083, allocations: 159.2 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.01092, allocations: 80.05 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.01101, allocations: 47.36 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003186/0.01133, allocations: 0.5093 MB / 0.5254 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.01155, allocations: 55.95 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.01177, allocations: 62.42 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.01224, allocations: 154.2 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01224, allocations: 0 / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005384/0.01278, allocations: 189.5 kB / 0.5258 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.0128, allocations: 10.34 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.01282, allocations: 1.969 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01283, allocations: 0 / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.01299, allocations: 19.98 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.013, allocations: 0 / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.01311, allocations: 28.81 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.01315, allocations: 4 kB / 0.5259 GB, free: 11.91 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 0.0001821/0.01333, allocations: 179.6 kB / 0.5261 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.01338, allocations: 11.91 kB / 0.5261 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/0.01402, allocations: 232.6 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.01403, allocations: 4.656 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.01404, allocations: 7.188 kB / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01404, allocations: 0 / 0.5263 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.01431, allocations: 188.4 kB / 0.5265 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.01432, allocations: 3.938 kB / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.01445, allocations: 19.98 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01446, allocations: 3.984 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01447, allocations: 4 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01447, allocations: 0 / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01447, allocations: 3.125 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.01514, allocations: 368.4 kB / 0.5269 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.805e-05/0.01517, allocations: 15.86 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.01519, allocations: 3.984 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.01532, allocations: 13.8 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.01539, allocations: 19.97 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.01541, allocations: 4 kB / 0.5269 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001204/0.01553, allocations: 158.2 kB / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01553, allocations: 0 / 0.5271 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002886/0.01582, allocations: 46.34 kB / 0.5271 GB, free: 10.6 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.0002478/0.01606, allocations: 123.2 kB / 0.5272 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.01669, allocations: 224.3 kB / 0.5274 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0167, allocations: 0 / 0.5274 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.01703, allocations: 160.5 kB / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.01737, allocations: 33.75 kB / 0.5276 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.01803, allocations: 304.3 kB / 0.5279 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.01817, allocations: 119.7 kB / 0.528 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.314e-05/0.01825, allocations: 14.27 kB / 0.528 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.0183, allocations: 12.5 kB / 0.5281 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.0183, allocations: 2.906 kB / 0.5281 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of Templates: time 0.006543/0.02484, allocations: 2.162 MB / 0.5302 GB, free: 7.5 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: 6.269015508936718]