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.000912/0.000912, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0009802/0.0009802, allocations: 177.2 kB / 23.2 MB, free: 1.363 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.9283/0.9283, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7608/0.7608, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009302/0.0009302, allocations: 70.94 kB / 0.6196 GB, free: 13.09 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.4958/0.4968, allocations: 102 MB / 0.7192 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001727/0.4985, allocations: 0.7995 MB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.4996, allocations: 1.025 MB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.4997, allocations: 5.25 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.4998, allocations: 16.25 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.4998, allocations: 20.91 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.5003, allocations: 97.02 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.5005, allocations: 122.7 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.5006, allocations: 30.38 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.5008, allocations: 75.7 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.5008, allocations: 57.2 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.5008, allocations: 9.562 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.501, allocations: 87.8 kB / 0.7215 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.217e-05/0.5011, allocations: 40.11 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.5011, allocations: 48.72 kB / 0.7216 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.5014, allocations: 246.3 kB / 0.7218 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5015, allocations: 1.344 kB / 0.7218 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.016e-06/0.5015, allocations: 0 / 0.7218 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5015, allocations: 0 / 0.7218 GB, free: 22.03 MB / 0.6355 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.0005966/0.5021, allocations: 428.3 kB / 0.7222 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5021, allocations: 12.03 kB / 0.7222 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.5022, allocations: 20.56 kB / 0.7222 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.5023, allocations: 157.8 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5023, allocations: 3.719 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.5023, allocations: 8.688 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.5027, allocations: 206.8 kB / 0.7226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5027, allocations: 192 / 0.7226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5028, allocations: 5.062 kB / 0.7226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.5028, allocations: 5.875 kB / 0.7226 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.5032, allocations: 218.8 kB / 0.7228 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.5038, allocations: 452.5 kB / 0.7232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.5041, allocations: 150.9 kB / 0.7234 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.5044, allocations: 138.9 kB / 0.7235 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.5045, allocations: 5.016 kB / 0.7235 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5045, allocations: 37.53 kB / 0.7236 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.5045, allocations: 0 / 0.7236 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.00106/0.5056, allocations: 486.5 kB / 0.724 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.5056, allocations: 51.41 kB / 0.7241 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5057, allocations: 155.1 kB / 0.7242 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.5057, allocations: 25.7 kB / 0.7242 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.5058, allocations: 110.3 kB / 0.7243 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.5059, allocations: 74.03 kB / 0.7244 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.5059, allocations: 32.8 kB / 0.7245 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.506, allocations: 329.7 kB / 0.7248 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.5062, allocations: 137.6 kB / 0.7249 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.5065, allocations: 130.8 kB / 0.725 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.5069, allocations: 306.5 kB / 0.7253 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5069, allocations: 0 / 0.7253 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005107/0.5074, allocations: 333.3 kB / 0.7256 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5075, allocations: 5.469 kB / 0.7256 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5075, allocations: 2.5 kB / 0.7256 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5075, allocations: 0 / 0.7256 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5076, allocations: 39.28 kB / 0.7257 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5076, allocations: 3.984 kB / 0.7257 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.5078, allocations: 40.98 kB / 0.7257 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.5078, allocations: 2.688 kB / 0.7257 GB, free: 19.87 MB / 0.6355 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.0001116/0.5079, allocations: 140.9 kB / 0.7259 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.5079, allocations: 13.64 kB / 0.7259 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/0.5085, allocations: 370.8 kB / 0.7262 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5085, allocations: 2 kB / 0.7262 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5085, allocations: 10.03 kB / 0.7262 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.5085, allocations: 21.25 kB / 0.7263 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.5086, allocations: 4.734 kB / 0.7263 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5087, allocations: 32.91 kB / 0.7263 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.5087, allocations: 12.27 kB / 0.7263 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005785/0.5093, allocations: 435.9 kB / 0.7267 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005527/0.5099, allocations: 0.5017 MB / 0.7272 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000281/0.5101, allocations: 140.9 kB / 0.7273 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.5102, allocations: 112.2 kB / 0.7274 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of Backend: time 4.01e-07/0.5102, allocations: 0 / 0.7274 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007466/0.511, allocations: 317 kB / 0.7278 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006984/0.5117, allocations: 0.8028 MB / 0.7285 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.005892/0.5175, allocations: 2.651 MB / 0.7311 GB, free: 17.87 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.385342600056902] Failed to read output from testmodel.py, exit status != 0: 0.5236167900729924 0.53447601 0.030945296 Calling exit ...