Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006865/0.0006865, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008918/0.001578, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008036/0.0008036, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008634/0.001667, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1305/1.159, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7464/0.7464, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2764/1.023, allocations: 49.05 MB / 447.8 MB, free: 6.598 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 449.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.412e-05, allocations: 2.312 kB / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002031/0.002055, allocations: 0.8696 MB / 450.1 MB, free: 4.395 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003541, allocations: 1.061 MB / 451.2 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.003606, allocations: 8.812 kB / 451.2 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.655e-05/0.003682, allocations: 12.73 kB / 451.2 MB, free: 3.301 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.003744, allocations: 20.11 kB / 451.2 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.004094, allocations: 88.41 kB / 451.3 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.004272, allocations: 123.6 kB / 451.4 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.004428, allocations: 43.69 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.004586, allocations: 83.05 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.004669, allocations: 43.88 kB / 451.6 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.004698, allocations: 12.91 kB / 451.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.00496, allocations: 99.84 kB / 451.7 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.005008, allocations: 31.86 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.005045, allocations: 24.56 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.005234, allocations: 151.4 kB / 451.9 MB, free: 2.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.005246, allocations: 1.656 kB / 451.9 MB, free: 2.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.005248, allocations: 4 kB / 451.9 MB, free: 2.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.005261, allocations: 3.938 kB / 451.9 MB, free: 2.621 MB / 426.7 MB 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.0004778/0.005739, allocations: 392.2 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.005776, allocations: 11.97 kB / 452.3 MB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.005822, allocations: 16.92 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.005975, allocations: 141.5 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.005986, allocations: 8.375 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.006001, allocations: 4.375 kB / 452.5 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.006224, allocations: 132.3 kB / 452.6 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006233, allocations: 4.172 kB / 452.6 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006245, allocations: 7.938 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.006253, allocations: 2.969 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.64e-05/0.006299, allocations: 24.59 kB / 452.6 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.006702, allocations: 314.2 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.006789, allocations: 78.48 kB / 453 MB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.006825, allocations: 28.8 kB / 453 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.006873, allocations: 8 kB / 453 MB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.006894, allocations: 34.55 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.006896, allocations: 0 / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002037/0.0071, allocations: 128.6 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.007127, allocations: 51.41 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.007209, allocations: 151.6 kB / 453.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.007221, allocations: 25.7 kB / 453.4 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.007262, allocations: 104.5 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.007309, allocations: 77.19 kB / 453.6 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.007353, allocations: 33.67 kB / 453.6 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.007432, allocations: 330.7 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.007464, allocations: 26.77 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.007489, allocations: 16 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.007556, allocations: 70.16 kB / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007558, allocations: 0 / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001098/0.007668, allocations: 102.9 kB / 454.2 MB, free: 208 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.00768, allocations: 4 kB / 454.2 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.007698, allocations: 8.891 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.007709, allocations: 0 / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.007805, allocations: 24.92 kB / 454.2 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.007808, allocations: 0 / 454.2 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.007855, allocations: 29.12 kB / 454.2 MB, free: 144 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.007874, allocations: 240 / 454.2 MB, free: 144 kB / 426.7 MB 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 9.579e-05/0.007969, allocations: 129.2 kB / 454.4 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.007989, allocations: 5.219 kB / 454.4 MB, free: 0 / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.008159, allocations: 133.5 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008162, allocations: 0 / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008166, allocations: 5.062 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.00817, allocations: 4 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.008295, allocations: 117.7 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.008301, allocations: 1.156 kB / 454.6 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.00837, allocations: 27.91 kB / 454.6 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.008384, allocations: 20.56 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008386, allocations: 0 / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.008394, allocations: 5.5 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008396, allocations: 0 / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008397, allocations: 80 / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.008575, allocations: 262.9 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.008597, allocations: 5.5 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.008666, allocations: 11.98 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.00871, allocations: 15.98 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.008719, allocations: 7.984 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.73e-05/0.008746, allocations: 32.97 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008746, allocations: 0.5625 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.00891, allocations: 43.89 kB / 455 MB, free: 15.28 MB / 442.7 MB 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.0001772/0.009087, allocations: 116.5 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.009241, allocations: 136.2 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.009249, allocations: 0.5 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.37e-05/0.009333, allocations: 116.9 kB / 455.4 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.009565, allocations: 219 kB / 455.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.0101, allocations: 309.4 kB / 455.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.01015, allocations: 75.33 kB / 456 MB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.01019, allocations: 9.422 kB / 456 MB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.01027, allocations: 72.3 kB / 456.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01027, allocations: 0 / 456.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of Templates: time 0.003829/0.0141, allocations: 2.095 MB / 458.2 MB, free: 12.18 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.597891805693507]