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.001403/0.001403, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001764/0.001764, allocations: 213.8 kB / 22.24 MB, free: 4.859 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.777 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.315/1.315, allocations: 203.8 MB / 0.5041 GB, free: 4.57 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.002076/0.002076, allocations: 63.91 kB / 0.7187 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6455, allocations: 102 MB / 0.8183 GB, free: 28.93 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002156/0.6476, allocations: 0.8037 MB / 0.8191 GB, free: 28.44 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.649, allocations: 1.026 MB / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.6491, allocations: 3 kB / 0.8201 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.6492, allocations: 15.19 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.6492, allocations: 26.75 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.6497, allocations: 90.11 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.6499, allocations: 126.2 kB / 0.8203 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.6501, allocations: 37.81 kB / 0.8204 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.6502, allocations: 52.64 kB / 0.8204 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.6503, allocations: 54.11 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.6503, allocations: 11.44 kB / 0.8205 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.6505, allocations: 90.69 kB / 0.8206 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.6506, allocations: 39.8 kB / 0.8206 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.6506, allocations: 49.62 kB / 0.8207 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.651, allocations: 215.1 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.651, allocations: 0.7969 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.884e-06/0.651, allocations: 0.75 kB / 0.8209 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.651, allocations: 0.9062 kB / 0.8209 GB, free: 27.36 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.0008608/0.6519, allocations: 421.2 kB / 0.8213 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6519, allocations: 11.41 kB / 0.8213 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.652, allocations: 23.86 kB / 0.8213 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.6522, allocations: 163.5 kB / 0.8215 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.6522, allocations: 3.578 kB / 0.8215 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.6522, allocations: 10.16 kB / 0.8215 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006594/0.6529, allocations: 205.3 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.6529, allocations: 1.219 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.6529, allocations: 5.594 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.6529, allocations: 2.688 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.6538, allocations: 225 kB / 0.8219 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.6548, allocations: 452.5 kB / 0.8223 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.6552, allocations: 153.7 kB / 0.8225 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.6556, allocations: 138.3 kB / 0.8226 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.6557, allocations: 9.438 kB / 0.8226 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6557, allocations: 32.69 kB / 0.8226 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.6557, allocations: 3.938 kB / 0.8226 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001539/0.6573, allocations: 486.8 kB / 0.8231 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.6573, allocations: 56.59 kB / 0.8232 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.6574, allocations: 152.3 kB / 0.8233 GB, free: 26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.6574, allocations: 30.41 kB / 0.8233 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.99e-05/0.6575, allocations: 109.8 kB / 0.8234 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.6575, allocations: 69.91 kB / 0.8235 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.6576, allocations: 30.62 kB / 0.8235 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.6577, allocations: 332.3 kB / 0.8239 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.6581, allocations: 130.1 kB / 0.824 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.6585, allocations: 134.1 kB / 0.8241 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007918/0.6593, allocations: 296.2 kB / 0.8244 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6593, allocations: 0 / 0.8244 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008745/0.6601, allocations: 335.1 kB / 0.8247 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6602, allocations: 6.375 kB / 0.8247 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.6602, allocations: 5.766 kB / 0.8247 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.6602, allocations: 0.6094 kB / 0.8247 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.6605, allocations: 37.88 kB / 0.8248 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6605, allocations: 1.891 kB / 0.8248 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.6607, allocations: 41.19 kB / 0.8248 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.6607, allocations: 2.312 kB / 0.8248 GB, free: 25.21 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.0001304/0.6608, allocations: 141.2 kB / 0.8249 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.6609, allocations: 13.16 kB / 0.825 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009849/0.6618, allocations: 364.9 kB / 0.8253 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.6618, allocations: 1.062 kB / 0.8253 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6619, allocations: 1.953 kB / 0.8253 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6619, allocations: 3.938 kB / 0.8253 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.6621, allocations: 193.7 kB / 0.8255 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.6621, allocations: 1.906 kB / 0.8255 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.6623, allocations: 34.02 kB / 0.8255 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.6623, allocations: 8.641 kB / 0.8255 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6623, allocations: 1.406 kB / 0.8255 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6623, allocations: 0.6094 kB / 0.8255 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6623, allocations: 5.406 kB / 0.8255 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.6633, allocations: 441.1 kB / 0.826 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.6633, allocations: 20.34 kB / 0.826 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.6633, allocations: 5.953 kB / 0.826 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.6635, allocations: 27.88 kB / 0.826 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.6636, allocations: 12.95 kB / 0.826 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6636, allocations: 2.469 kB / 0.826 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.6637, allocations: 125 kB / 0.8261 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6637, allocations: 4 kB / 0.8262 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003644/0.6641, allocations: 42.27 kB / 0.8262 GB, free: 24.45 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.0002134/0.6643, allocations: 122.7 kB / 0.8263 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009617/0.6653, allocations: 367.1 kB / 0.8267 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6653, allocations: 0 / 0.8267 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.6657, allocations: 222.4 kB / 0.8269 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.6661, allocations: 18.64 kB / 0.8269 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.6668, allocations: 355.5 kB / 0.8272 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.6669, allocations: 115.3 kB / 0.8273 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.976e-05/0.667, allocations: 22.48 kB / 0.8274 GB, free: 23.83 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.667, allocations: 14.88 kB / 0.8274 GB, free: 23.82 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.667, allocations: 0 / 0.8274 GB, free: 23.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.006911/0.6739, allocations: 2.262 MB / 0.8296 GB, free: 23.6 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.978640863671899] Failed to read output from testmodel.py, exit status != 0: 0.6839926782995462 0.698241852 0.044089416 Calling exit ...