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.001371/0.001371, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001035/0.001035, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8497/0.8497, allocations: 177.2 MB / 203.5 MB, free: 5.449 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-531:190: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-531:198: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.6751/0.6751, allocations: 154.5 MB / 414.5 MB, free: 0.793 MB / 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.765e-06/2.765e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.815e-05, allocations: 5.859 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001302/0.00133, allocations: 0.815 MB / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.002208, allocations: 1.03 MB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.002255, allocations: 3.938 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.496e-05/0.00235, allocations: 11.88 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.002383, allocations: 19.8 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.002711, allocations: 99.69 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.00282, allocations: 127.6 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.002937, allocations: 37.27 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.00301, allocations: 63.88 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.003059, allocations: 47.88 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.003079, allocations: 12 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.003184, allocations: 91.83 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.003225, allocations: 39.91 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.003257, allocations: 31.86 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.00346, allocations: 239.2 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003462, allocations: 0 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003464, allocations: 0 / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003468, allocations: 0 / 0.6219 GB, free: 10.46 MB / 0.5886 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.0004796/0.003947, allocations: 421.4 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 0.0002935/0.004241, allocations: 9.469 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.004275, allocations: 24.8 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.004406, allocations: 144.8 kB / 0.6225 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.004418, allocations: 8.375 kB / 0.6225 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.00443, allocations: 4.375 kB / 0.6225 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.004732, allocations: 212 kB / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.00474, allocations: 192 / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.004752, allocations: 8.375 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004756, allocations: 4.375 kB / 0.6227 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.005099, allocations: 223.7 kB / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.005597, allocations: 448.1 kB / 0.6234 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.005813, allocations: 146.5 kB / 0.6235 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.006003, allocations: 136.7 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.006054, allocations: 15.94 kB / 0.6237 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.006074, allocations: 30.56 kB / 0.6237 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.006075, allocations: 0 / 0.6237 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0007104/0.006785, allocations: 488.2 kB / 0.6241 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.006816, allocations: 51.41 kB / 0.6242 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.006902, allocations: 150.3 kB / 0.6243 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.006916, allocations: 29.7 kB / 0.6244 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.006963, allocations: 108.5 kB / 0.6245 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.007011, allocations: 71.45 kB / 0.6245 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.007053, allocations: 33.7 kB / 0.6246 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.007156, allocations: 330.8 kB / 0.6249 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.007375, allocations: 135.9 kB / 0.625 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.007559, allocations: 131.9 kB / 0.6251 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.007939, allocations: 305.4 kB / 0.6254 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007941, allocations: 0 / 0.6254 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004115/0.008352, allocations: 322.9 kB / 0.6257 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.008363, allocations: 8 kB / 0.6258 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.008376, allocations: 0 / 0.6258 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.008387, allocations: 0 / 0.6258 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.008498, allocations: 39.95 kB / 0.6258 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.008501, allocations: 0 / 0.6258 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.008579, allocations: 39.84 kB / 0.6258 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.008596, allocations: 4 kB / 0.6258 GB, free: 6.301 MB / 0.5886 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 8.404e-05/0.00868, allocations: 150.7 kB / 0.626 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.008698, allocations: 11.91 kB / 0.626 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.009159, allocations: 378.5 kB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.009161, allocations: 0 / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.009165, allocations: 4 kB / 0.6264 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009168, allocations: 3.938 kB / 0.6264 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.009304, allocations: 193.1 kB / 0.6265 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.009308, allocations: 0 / 0.6265 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.009389, allocations: 35.95 kB / 0.6266 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009391, allocations: 4 kB / 0.6266 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.009399, allocations: 0 / 0.6266 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.0094, allocations: 0 / 0.6266 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.0094, allocations: 0 / 0.6266 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.009828, allocations: 439 kB / 0.627 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.009839, allocations: 19.86 kB / 0.627 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.009852, allocations: 4 kB / 0.627 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.00994, allocations: 27.95 kB / 0.627 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.009986, allocations: 15.97 kB / 0.6271 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.009994, allocations: 8 kB / 0.6271 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.01004, allocations: 110.7 kB / 0.6272 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01004, allocations: 0 / 0.6272 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004177/0.01045, allocations: 39.94 kB / 0.6272 GB, free: 4.824 MB / 0.5886 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.0001378/0.01059, allocations: 133.4 kB / 0.6273 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.01106, allocations: 375.1 kB / 0.6277 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01106, allocations: 0 / 0.6277 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.01128, allocations: 211.3 kB / 0.6279 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.01147, allocations: 24.53 kB / 0.6279 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.01186, allocations: 388.4 kB / 0.6283 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.01193, allocations: 118.9 kB / 0.6284 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.01197, allocations: 16.5 kB / 0.6284 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.01197, allocations: 4 kB / 0.6284 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of Templates: time 0.002412/0.01438, allocations: 2.118 MB / 0.6305 GB, free: 1.402 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.146975603885949] Failed to read output from testmodel.py, exit status != 0: 0.01935719233006239 0.026459443000000003 0.021473219 Calling exit ...