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.0009604/0.0009604, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009837/0.0009837, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9116/0.9116, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.8238/0.8238, allocations: 154.9 MB / 415.1 MB, free: 276 kB / 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 1.593e-06/1.593e-06, allocations: 1.203 kB / 0.5212 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.519e-05, allocations: 7.797 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001177/0.001192, allocations: 0.8081 MB / 0.522 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.002673, allocations: 1.051 MB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.002729, allocations: 4 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.002828, allocations: 15.8 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.00287, allocations: 20.55 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.003209, allocations: 93.17 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003326, allocations: 135.5 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003443, allocations: 33.3 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.003524, allocations: 71.86 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.003574, allocations: 49.22 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.003592, allocations: 8 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.003707, allocations: 79.92 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.003749, allocations: 47.83 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.003779, allocations: 33.42 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.003952, allocations: 179.4 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003953, allocations: 3.938 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003954, allocations: 0 / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.003957, allocations: 2.406 kB / 0.5238 GB, free: 14.85 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.0004243/0.004381, allocations: 499.7 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.004421, allocations: 12.03 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.004457, allocations: 20.8 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004578, allocations: 159.5 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004587, allocations: 4.938 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.004598, allocations: 12.88 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.004781, allocations: 123.6 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.004788, allocations: 1.719 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.004795, allocations: 384 / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004801, allocations: 384 / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.004847, allocations: 31.92 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.005326, allocations: 394.5 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.005386, allocations: 46.98 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.005417, allocations: 23.69 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.005459, allocations: 11.98 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.00548, allocations: 38.42 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.082e-06/0.005481, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0001989/0.005679, allocations: 145.8 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.005701, allocations: 52.09 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.005786, allocations: 207.2 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.005798, allocations: 29.7 kB / 0.5255 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.005847, allocations: 155.2 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.00589, allocations: 79.36 kB / 0.5257 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.005931, allocations: 42.59 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.006048, allocations: 0.5117 MB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.006074, allocations: 12 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.0061, allocations: 23.98 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.006166, allocations: 71.55 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006168, allocations: 0 / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001129/0.006281, allocations: 113.5 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006291, allocations: 4 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.006306, allocations: 7.031 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.00632, allocations: 0 / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.006399, allocations: 19.98 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.006401, allocations: 0 / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.00645, allocations: 27.88 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.006465, allocations: 0 / 0.5265 GB, free: 11.84 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 7.72e-05/0.006542, allocations: 177.9 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.006563, allocations: 15.91 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.006721, allocations: 151.4 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006724, allocations: 0.5 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.006725, allocations: 2.406 kB / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.006728, allocations: 0 / 0.5269 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.00685, allocations: 148.9 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.006854, allocations: 3.938 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.006907, allocations: 19.98 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006908, allocations: 0 / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.006914, allocations: 6.438 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.006916, allocations: 3.938 kB / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006917, allocations: 0 / 0.527 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.007071, allocations: 284.5 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.007086, allocations: 23.73 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007099, allocations: 4 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.007157, allocations: 21.81 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.007198, allocations: 11.98 kB / 0.5274 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.007205, allocations: 0 / 0.5274 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.007251, allocations: 154.4 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007251, allocations: 0 / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001817/0.007433, allocations: 40.97 kB / 0.5275 GB, free: 10.73 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.0001261/0.007559, allocations: 129.9 kB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.007704, allocations: 140.1 kB / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.007705, allocations: 0 / 0.5278 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.007775, allocations: 113.5 kB / 0.5279 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.007975, allocations: 32.62 kB / 0.5279 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.008301, allocations: 298 kB / 0.5282 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.39e-05/0.008345, allocations: 83.19 kB / 0.5283 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.008374, allocations: 5.562 kB / 0.5283 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.008453, allocations: 94.17 kB / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.008453, allocations: 0 / 0.5284 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of Templates: time 0.0043/0.01275, allocations: 2.383 MB / 0.5307 GB, free: 7.535 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: 3.547919479198754]