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.001008/0.001008, allocations: 93.06 kB / 19.65 MB, free: 280 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.001183/0.001183, allocations: 169 kB / 23.02 MB, free: 1.555 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.056/1.056, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.8151/0.8151, allocations: 154.8 MB / 414.7 MB, free: 0.5039 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 3.727e-06/3.727e-06, allocations: 0 / 0.5206 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.501e-05, allocations: 5.969 kB / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.005025/0.00506, allocations: 0.8189 MB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.006361, allocations: 1.062 MB / 0.5225 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.006422, allocations: 0 / 0.5225 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.006541, allocations: 12.48 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.921e-05/0.00661, allocations: 21.75 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.01009, allocations: 95.75 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.01025, allocations: 127.5 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.01038, allocations: 35 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.01048, allocations: 67.88 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.01056, allocations: 51.86 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.01058, allocations: 12 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.01074, allocations: 83.92 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.01079, allocations: 41.31 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.01085, allocations: 43.83 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.0111, allocations: 171.3 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.0111, allocations: 4 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.332e-06/0.0111, allocations: 0.75 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.01111, allocations: 0 / 0.5232 GB, free: 15.28 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.0005853/0.01169, allocations: 0.4894 MB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.01173, allocations: 8.031 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.01179, allocations: 26.14 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.01196, allocations: 152.3 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.01198, allocations: 8.375 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.012, allocations: 4.375 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.01229, allocations: 126.8 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.0123, allocations: 192 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.01231, allocations: 4.375 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.01232, allocations: 384 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.01242, allocations: 43.78 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.01605, allocations: 415.4 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.01615, allocations: 59.48 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.01621, allocations: 28.25 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.01626, allocations: 8.562 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.01629, allocations: 41.38 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.01629, allocations: 0.875 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0003591/0.01665, allocations: 157.7 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01668, allocations: 56.88 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01682, allocations: 209.1 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.01683, allocations: 25.7 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.0169, allocations: 155.2 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.01697, allocations: 80.33 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.01703, allocations: 39.36 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01718, allocations: 0.505 MB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.01724, allocations: 24 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.01729, allocations: 19.98 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.01741, allocations: 79.94 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01741, allocations: 4 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002044/0.01761, allocations: 117.5 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01763, allocations: 8 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.01765, allocations: 2.625 kB / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01766, allocations: 0 / 0.526 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.01779, allocations: 23.92 kB / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.0178, allocations: 0 / 0.526 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.01788, allocations: 31.88 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.0179, allocations: 6.984 kB / 0.5261 GB, free: 12.16 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.0001063/0.01801, allocations: 169.7 kB / 0.5262 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.01805, allocations: 19.89 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.01831, allocations: 160.3 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01831, allocations: 0 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01831, allocations: 0 / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01832, allocations: 1.031 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.02153, allocations: 176.4 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.02154, allocations: 4.875 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.02163, allocations: 19.98 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.02163, allocations: 4.938 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.02164, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02165, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02165, allocations: 0.7344 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.02189, allocations: 297.8 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.02191, allocations: 19.8 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.02192, allocations: 4 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.02202, allocations: 18.41 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.02208, allocations: 19.97 kB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.02209, allocations: 0 / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.364e-05/0.02215, allocations: 158.5 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02215, allocations: 0 / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002606/0.02241, allocations: 39.94 kB / 0.5271 GB, free: 11.01 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.0001715/0.02258, allocations: 126.2 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.02279, allocations: 143 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.02279, allocations: 0 / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.0229, allocations: 126.9 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.02318, allocations: 28.23 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.02362, allocations: 295 kB / 0.5278 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.02368, allocations: 87.48 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.255e-05/0.02373, allocations: 15.97 kB / 0.5279 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.02377, allocations: 12.5 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.02377, allocations: 0 / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.01044/0.03421, allocations: 2.172 MB / 0.53 GB, free: 8.059 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: 4.002929305192083]