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.0007212/0.0007212, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007481/0.0007481, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8466/0.8466, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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-531:686: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-531:694: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.703/0.703, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 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. " [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.665e-06/2.665e-06, allocations: 3.984 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.885e-05, allocations: 6.219 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001194/0.001213, allocations: 0.8031 MB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.00213, allocations: 1.026 MB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.00218, allocations: 4 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.105e-05/0.002271, allocations: 19.75 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.002308, allocations: 27.78 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.002648, allocations: 87.83 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.002766, allocations: 131.5 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.002892, allocations: 37.2 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.002971, allocations: 75.86 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.003023, allocations: 43.89 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003042, allocations: 8 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.003149, allocations: 83.91 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.003194, allocations: 47.83 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.003227, allocations: 35.8 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.003438, allocations: 235.2 kB / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.00344, allocations: 0 / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003441, allocations: 0 / 0.622 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003445, allocations: 4 kB / 0.622 GB, free: 10.44 MB / 0.5886 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.000505/0.00395, allocations: 409.5 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.003982, allocations: 12.03 kB / 0.6224 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.004019, allocations: 20.8 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.00416, allocations: 153.5 kB / 0.6226 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.00417, allocations: 4.375 kB / 0.6226 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.004183, allocations: 8.375 kB / 0.6226 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.004503, allocations: 206 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004512, allocations: 192 / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.004523, allocations: 4.375 kB / 0.6228 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.004529, allocations: 8.375 kB / 0.6228 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.004894, allocations: 215.7 kB / 0.623 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.00541, allocations: 448 kB / 0.6234 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.005632, allocations: 154.4 kB / 0.6236 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.005833, allocations: 144.7 kB / 0.6237 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.005874, allocations: 4 kB / 0.6237 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.005893, allocations: 34.56 kB / 0.6237 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 8.72e-07/0.005894, allocations: 0 / 0.6237 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0007143/0.006608, allocations: 485.2 kB / 0.6242 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.006635, allocations: 51.41 kB / 0.6243 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.006722, allocations: 157.5 kB / 0.6244 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.006742, allocations: 25.7 kB / 0.6244 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.006785, allocations: 104.6 kB / 0.6245 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.00683, allocations: 75.33 kB / 0.6246 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.006871, allocations: 33.7 kB / 0.6246 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.006949, allocations: 326.8 kB / 0.6249 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.007149, allocations: 140.1 kB / 0.6251 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.007335, allocations: 131.8 kB / 0.6252 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.007726, allocations: 303 kB / 0.6255 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007728, allocations: 0 / 0.6255 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004194/0.008148, allocations: 330 kB / 0.6258 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.008158, allocations: 4 kB / 0.6258 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.008172, allocations: 4 kB / 0.6258 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.008182, allocations: 0 / 0.6258 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.008294, allocations: 35.95 kB / 0.6258 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.008299, allocations: 0 / 0.6258 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.00838, allocations: 39.84 kB / 0.6259 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.008398, allocations: 4 kB / 0.6259 GB, free: 6.277 MB / 0.5886 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.96e-05/0.008487, allocations: 151.8 kB / 0.626 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.008506, allocations: 11.91 kB / 0.626 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004811/0.008987, allocations: 363.5 kB / 0.6264 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.00899, allocations: 4 kB / 0.6264 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008994, allocations: 4 kB / 0.6264 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008997, allocations: 0 / 0.6264 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.009143, allocations: 201.1 kB / 0.6266 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.009148, allocations: 4 kB / 0.6266 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.487e-05/0.009233, allocations: 35.95 kB / 0.6266 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.009234, allocations: 0 / 0.6266 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.009243, allocations: 4 kB / 0.6266 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.009244, allocations: 0 / 0.6266 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009245, allocations: 7.938 kB / 0.6266 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.009701, allocations: 443 kB / 0.6271 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.009715, allocations: 15.84 kB / 0.6271 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.009727, allocations: 4 kB / 0.6271 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.009817, allocations: 27.95 kB / 0.6271 GB, free: 4.969 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.009863, allocations: 15.97 kB / 0.6271 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.009869, allocations: 4 kB / 0.6271 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.009917, allocations: 114.7 kB / 0.6272 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009917, allocations: 0 / 0.6272 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001843/0.0101, allocations: 43.88 kB / 0.6273 GB, free: 4.797 MB / 0.5886 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.0001369/0.01024, allocations: 128.6 kB / 0.6274 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.01072, allocations: 367 kB / 0.6278 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01073, allocations: 8 kB / 0.6278 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.01097, allocations: 211.3 kB / 0.628 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01121, allocations: 26.17 kB / 0.628 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.01166, allocations: 388.4 kB / 0.6284 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.01174, allocations: 118.9 kB / 0.6285 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.01177, allocations: 12.5 kB / 0.6285 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.01177, allocations: 3.938 kB / 0.6285 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.002608/0.01438, allocations: 2.127 MB / 0.6306 GB, free: 1.375 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2483743242919445] Failed to read output from testmodel.py, exit status != 0: 0.01875394769012928 0.026670179000000002 0.021596792 Calling exit ...