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.001247/0.001247, allocations: 80.09 kB / 19.18 MB, free: 2.523 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.001321/0.001321, allocations: 166.6 kB / 22.46 MB, free: 5.371 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.513/1.513, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.17/1.17, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 3.937e-06/3.937e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.496e-05/3.889e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002227/0.002266, allocations: 0.8047 MB / 0.6194 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.004019, allocations: 1.027 MB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.0041, allocations: 3.938 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.004233, allocations: 11.88 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.00431, allocations: 23.8 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.004832, allocations: 103.7 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.005038, allocations: 127.6 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.0052, allocations: 29.22 kB / 0.6207 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.005356, allocations: 71.88 kB / 0.6207 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.005444, allocations: 51.86 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.005481, allocations: 12 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.005656, allocations: 83.91 kB / 0.6209 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.00573, allocations: 39.86 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.005799, allocations: 43.83 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.006176, allocations: 231.2 kB / 0.6212 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.006181, allocations: 0 / 0.6212 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006182, allocations: 0 / 0.6212 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.006189, allocations: 0 / 0.6212 GB, free: 1.914 MB / 0.5294 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.0009651/0.007154, allocations: 417.4 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.007195, allocations: 17.45 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.007261, allocations: 24.73 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.00748, allocations: 141.5 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.007499, allocations: 8.375 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.007517, allocations: 8.312 kB / 0.6218 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.008129, allocations: 206 kB / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.008141, allocations: 192 / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.008158, allocations: 8.375 kB / 0.622 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.008165, allocations: 4.375 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.008931, allocations: 231.6 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.009902, allocations: 448 kB / 0.6226 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.01036, allocations: 146.5 kB / 0.6228 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.01076, allocations: 136.7 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/0.01083, allocations: 4 kB / 0.6229 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.01088, allocations: 42.5 kB / 0.6229 GB, free: 16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.01089, allocations: 0 / 0.6229 GB, free: 16 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001466/0.01235, allocations: 481.3 kB / 0.6234 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.01241, allocations: 55.41 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01257, allocations: 156.2 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.01259, allocations: 25.7 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.01268, allocations: 108.6 kB / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.593e-05/0.01275, allocations: 75.39 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.854e-05/0.01282, allocations: 33.7 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01298, allocations: 326.8 kB / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.01339, allocations: 135.9 kB / 0.6243 GB, free: 14.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.01379, allocations: 131.9 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.01459, allocations: 307.3 kB / 0.6247 GB, free: 14.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0146, allocations: 0 / 0.6247 GB, free: 14.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008752/0.01547, allocations: 326.2 kB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01549, allocations: 8 kB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.01551, allocations: 0 / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.01553, allocations: 0 / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.01577, allocations: 39.95 kB / 0.625 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01577, allocations: 0 / 0.625 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.01596, allocations: 35.84 kB / 0.6251 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.01599, allocations: 4 kB / 0.6251 GB, free: 13.74 MB / 0.545 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.000166/0.01616, allocations: 150.7 kB / 0.6252 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.0162, allocations: 15.91 kB / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00099/0.01719, allocations: 360.1 kB / 0.6256 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.0172, allocations: 4 kB / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.0172, allocations: 0 / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01721, allocations: 0 / 0.6256 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.01746, allocations: 193.1 kB / 0.6258 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.01746, allocations: 4 kB / 0.6258 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.01766, allocations: 35.95 kB / 0.6258 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01767, allocations: 0 / 0.6258 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.01768, allocations: 4 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.01768, allocations: 4 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.01769, allocations: 7.938 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/0.01867, allocations: 439 kB / 0.6262 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.0187, allocations: 23.84 kB / 0.6263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.01872, allocations: 0 / 0.6263 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.01892, allocations: 31.94 kB / 0.6263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.019, allocations: 11.98 kB / 0.6263 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01902, allocations: 7.922 kB / 0.6263 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.615e-05/0.01912, allocations: 114.7 kB / 0.6264 GB, free: 12.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01912, allocations: 0 / 0.6264 GB, free: 12.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004755/0.01959, allocations: 43.89 kB / 0.6265 GB, free: 12.26 MB / 0.545 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.0003113/0.0199, allocations: 133.5 kB / 0.6266 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009793/0.02088, allocations: 367.1 kB / 0.6269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02088, allocations: 0 / 0.6269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.02137, allocations: 215.3 kB / 0.6271 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.0217, allocations: 26.27 kB / 0.6272 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.02243, allocations: 346.5 kB / 0.6275 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.02257, allocations: 127.1 kB / 0.6276 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.02264, allocations: 19.92 kB / 0.6276 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.02269, allocations: 16.5 kB / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.02269, allocations: 0 / 0.6277 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Templates: time 0.006372/0.02906, allocations: 2.149 MB / 0.6298 GB, free: 8.859 MB / 0.545 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.847503446042538] Failed to read output from testmodel.py, exit status != 0: 0.03854244202375412 0.053104224000000005 0.043950385 Calling exit ...