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.001508/0.001508, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001584/0.001584, allocations: 220.7 kB / 22.26 MB, free: 5.125 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 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-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 1.267/1.267, allocations: 203.8 MB / 0.5041 GB, free: 4.926 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.91 kB / 0.7188 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6283, allocations: 102 MB / 0.8184 GB, free: 29.21 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002157/0.6304, allocations: 0.8312 MB / 0.8192 GB, free: 28.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.6323, allocations: 1.048 MB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.6324, allocations: 4.375 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.6326, allocations: 10.97 kB / 0.8202 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.6327, allocations: 20.86 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.6332, allocations: 101.1 kB / 0.8203 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.6334, allocations: 119 kB / 0.8205 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.6336, allocations: 49.77 kB / 0.8205 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.871e-05/0.6337, allocations: 51.17 kB / 0.8206 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.6338, allocations: 58.47 kB / 0.8206 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.6338, allocations: 11.25 kB / 0.8206 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.6341, allocations: 91.91 kB / 0.8207 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.6341, allocations: 48.98 kB / 0.8208 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.159e-05/0.6342, allocations: 59.67 kB / 0.8208 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.6346, allocations: 208.7 kB / 0.821 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.6346, allocations: 6 kB / 0.821 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6346, allocations: 0.7812 kB / 0.821 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6346, allocations: 0 / 0.821 GB, free: 27.54 MB / 0.6387 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.0008796/0.6355, allocations: 421.6 kB / 0.8214 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6355, allocations: 10.81 kB / 0.8214 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.6356, allocations: 20.64 kB / 0.8214 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.6358, allocations: 158.2 kB / 0.8216 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6358, allocations: 4.531 kB / 0.8216 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.6358, allocations: 13.56 kB / 0.8216 GB, free: 27.03 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.6365, allocations: 205.7 kB / 0.8218 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6365, allocations: 2.094 kB / 0.8218 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.6365, allocations: 4.938 kB / 0.8218 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.6365, allocations: 2.094 kB / 0.8218 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.6373, allocations: 220.7 kB / 0.822 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009566/0.6383, allocations: 0.4964 MB / 0.8225 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.6387, allocations: 153.9 kB / 0.8227 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.6391, allocations: 140.3 kB / 0.8228 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.6391, allocations: 8.672 kB / 0.8228 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.6392, allocations: 30.56 kB / 0.8228 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.6392, allocations: 1.188 kB / 0.8228 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001417/0.6406, allocations: 483.5 kB / 0.8233 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.6406, allocations: 57.12 kB / 0.8233 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.6408, allocations: 154.2 kB / 0.8235 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.6408, allocations: 26.89 kB / 0.8235 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.6408, allocations: 113 kB / 0.8236 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.6409, allocations: 70.02 kB / 0.8237 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.6409, allocations: 33.77 kB / 0.8237 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.641, allocations: 332.8 kB / 0.824 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.6414, allocations: 133.1 kB / 0.8242 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.6418, allocations: 134.9 kB / 0.8243 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/0.6425, allocations: 296.3 kB / 0.8246 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6425, allocations: 4 kB / 0.8246 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008486/0.6434, allocations: 327.8 kB / 0.8249 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.6434, allocations: 10 kB / 0.8249 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.6434, allocations: 1.828 kB / 0.8249 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.6434, allocations: 3.938 kB / 0.8249 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.6437, allocations: 38.09 kB / 0.825 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6437, allocations: 6.047 kB / 0.825 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.6439, allocations: 40.8 kB / 0.825 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.6439, allocations: 7.266 kB / 0.825 GB, free: 25.36 MB / 0.6387 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.0001386/0.644, allocations: 136.5 kB / 0.8251 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.6441, allocations: 13.16 kB / 0.8251 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/0.645, allocations: 368.2 kB / 0.8255 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.645, allocations: 1.5 kB / 0.8255 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.645, allocations: 3.938 kB / 0.8255 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.645, allocations: 4.5 kB / 0.8255 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.6453, allocations: 240.2 kB / 0.8257 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.6453, allocations: 6.203 kB / 0.8257 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.6455, allocations: 38.23 kB / 0.8258 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6455, allocations: 0 / 0.8258 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.6455, allocations: 5.844 kB / 0.8258 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6455, allocations: 1 kB / 0.8258 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6455, allocations: 3.938 kB / 0.8258 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.6463, allocations: 433 kB / 0.8262 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.6464, allocations: 17.06 kB / 0.8262 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.6464, allocations: 1.781 kB / 0.8262 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.6466, allocations: 35.69 kB / 0.8263 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.6467, allocations: 17.98 kB / 0.8263 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.6467, allocations: 6.719 kB / 0.8263 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.767e-05/0.6467, allocations: 108.7 kB / 0.8264 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6467, allocations: 0 / 0.8264 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003543/0.6471, allocations: 46.97 kB / 0.8264 GB, free: 24.57 MB / 0.6387 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.0002142/0.6473, allocations: 120.3 kB / 0.8265 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009398/0.6482, allocations: 366.2 kB / 0.8269 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6482, allocations: 0 / 0.8269 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.6487, allocations: 219.6 kB / 0.8271 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.649, allocations: 26.03 kB / 0.8271 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.6497, allocations: 360 kB / 0.8275 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.6499, allocations: 0.7319 MB / 0.8282 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.65, allocations: 17.73 kB / 0.8282 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.65, allocations: 19.5 kB / 0.8282 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.65, allocations: 0 / 0.8282 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.007013/0.657, allocations: 2.154 MB / 0.8303 GB, free: 23.14 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.804582316428423] Failed to read output from testmodel.py, exit status != 0: 0.6668555475771427 0.68128668 0.043715755 Calling exit ...