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.001404/0.001404, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001673/0.001673, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9985/0.9985, allocations: 177.1 MB / 204.5 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.8154/0.8154, allocations: 154.9 MB / 415.9 MB, free: 240 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 2.174e-06/2.174e-06, allocations: 0 / 0.522 GB, free: 1.434 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.885e-05, allocations: 2.312 kB / 0.522 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001582/0.001611, allocations: 0.8094 MB / 0.5228 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.002818, allocations: 1.051 MB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.002881, allocations: 4.562 kB / 0.5238 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.002994, allocations: 11.86 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.00304, allocations: 21.47 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.003482, allocations: 95.75 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003627, allocations: 129.4 kB / 0.524 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.003758, allocations: 37.28 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.003846, allocations: 67.88 kB / 0.5241 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.003913, allocations: 47.88 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.003939, allocations: 8 kB / 0.5242 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.004083, allocations: 89.66 kB / 0.5243 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.004141, allocations: 43.84 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.004179, allocations: 35.84 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.004396, allocations: 175.4 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004399, allocations: 4.688 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233e-06/0.0044, allocations: 0 / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004405, allocations: 0 / 0.5245 GB, free: 14.83 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.0004854/0.00489, allocations: 497.1 kB / 0.525 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.004924, allocations: 12.03 kB / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.00497, allocations: 30.08 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005124, allocations: 148.4 kB / 0.5252 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005136, allocations: 8.375 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.005146, allocations: 9.75 kB / 0.5252 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.005353, allocations: 126.7 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005361, allocations: 2.75 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.005372, allocations: 4.375 kB / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.005378, allocations: 384 / 0.5253 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.005428, allocations: 31.92 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.005874, allocations: 384.6 kB / 0.5257 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.005947, allocations: 46.98 kB / 0.5258 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.005985, allocations: 28.22 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.006036, allocations: 8.953 kB / 0.5258 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.006062, allocations: 41.33 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.006064, allocations: 1.531 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0002358/0.0063, allocations: 141.8 kB / 0.526 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.00633, allocations: 55.41 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.006429, allocations: 213.1 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.006448, allocations: 26.64 kB / 0.5263 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.006509, allocations: 163.2 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.006557, allocations: 71.36 kB / 0.5265 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.006603, allocations: 40.75 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.006726, allocations: 0.5117 MB / 0.527 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.397e-05/0.00676, allocations: 15.98 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.928e-05/0.00679, allocations: 23.92 kB / 0.5271 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.006863, allocations: 69.41 kB / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006865, allocations: 0 / 0.5271 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001409/0.007006, allocations: 109.5 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.007018, allocations: 4.688 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.007034, allocations: 4 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.007042, allocations: 3.25 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.00713, allocations: 23.98 kB / 0.5273 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007132, allocations: 0 / 0.5273 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.00719, allocations: 27.88 kB / 0.5273 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.007208, allocations: 3.984 kB / 0.5273 GB, free: 11.81 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 8.966e-05/0.007297, allocations: 175.4 kB / 0.5275 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.007322, allocations: 11.91 kB / 0.5275 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.007505, allocations: 150.8 kB / 0.5276 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.007508, allocations: 0 / 0.5276 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.00751, allocations: 0 / 0.5276 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007513, allocations: 0 / 0.5276 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.007657, allocations: 152.8 kB / 0.5278 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.007663, allocations: 9.438 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.007727, allocations: 15.98 kB / 0.5278 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.00773, allocations: 4 kB / 0.5278 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.007738, allocations: 8.438 kB / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007739, allocations: 0 / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.00774, allocations: 2.25 kB / 0.5278 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.007912, allocations: 272.6 kB / 0.5281 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.007934, allocations: 27.73 kB / 0.5281 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.007949, allocations: 11.98 kB / 0.5281 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.008012, allocations: 11.98 kB / 0.5281 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.008056, allocations: 14.42 kB / 0.5281 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.008066, allocations: 8 kB / 0.5281 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.008116, allocations: 146.6 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008116, allocations: 0 / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002085/0.008325, allocations: 39.94 kB / 0.5283 GB, free: 10.71 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.0001763/0.008501, allocations: 129.1 kB / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.008669, allocations: 143 kB / 0.5286 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00867, allocations: 0 / 0.5286 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.008747, allocations: 111 kB / 0.5287 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.009011, allocations: 32.62 kB / 0.5287 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.009412, allocations: 298.8 kB / 0.529 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.009462, allocations: 79.19 kB / 0.5291 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.009501, allocations: 11.97 kB / 0.5291 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.00959, allocations: 96.91 kB / 0.5292 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/0.009591, allocations: 0 / 0.5292 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of Templates: time 0.004358/0.01395, allocations: 2.432 MB / 0.5315 GB, free: 7.457 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.9353318042121828]