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.0007767/0.0007767, 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.0008362/0.0008362, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9088/0.9088, allocations: 177.2 MB / 203.6 MB, free: 5.766 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7106/0.7106, allocations: 154.9 MB / 414.9 MB, free: 0.5039 MB / 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: 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.0009827/0.0009827, allocations: 67.91 kB / 0.6199 GB, free: 12.72 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4661, allocations: 102 MB / 0.7195 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001537/0.4676, allocations: 0.7921 MB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009167/0.4685, allocations: 1.025 MB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.4686, allocations: 4.875 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.4687, allocations: 16.14 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.4687, allocations: 25.41 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.4691, allocations: 92.78 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.4692, allocations: 131.6 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.4694, allocations: 34.19 kB / 0.7216 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.563e-05/0.4695, allocations: 70.47 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.4695, allocations: 49.66 kB / 0.7217 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.4696, allocations: 18.44 kB / 0.7217 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.4697, allocations: 86.33 kB / 0.7218 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.4698, allocations: 43.7 kB / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.4698, allocations: 49.48 kB / 0.7219 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.4701, allocations: 244 kB / 0.7221 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4701, allocations: 0 / 0.7221 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4701, allocations: 0 / 0.7221 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4701, allocations: 0 / 0.7221 GB, free: 21.89 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.000557/0.4707, allocations: 440.2 kB / 0.7225 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4707, allocations: 9.75 kB / 0.7225 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4707, allocations: 19.64 kB / 0.7226 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4709, allocations: 150.9 kB / 0.7227 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4709, allocations: 4.062 kB / 0.7227 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.4709, allocations: 8.906 kB / 0.7227 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.4713, allocations: 204.8 kB / 0.7229 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4713, allocations: 192 / 0.7229 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4713, allocations: 5.062 kB / 0.7229 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4713, allocations: 1.156 kB / 0.7229 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.4717, allocations: 223.2 kB / 0.7231 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.4723, allocations: 456.2 kB / 0.7236 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4726, allocations: 158.4 kB / 0.7237 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.4728, allocations: 137.7 kB / 0.7238 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.822e-05/0.4729, allocations: 5.984 kB / 0.7239 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4729, allocations: 37.3 kB / 0.7239 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.4729, allocations: 0 / 0.7239 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0008346/0.4737, allocations: 478 kB / 0.7243 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.4737, allocations: 52.56 kB / 0.7244 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.4738, allocations: 156 kB / 0.7245 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.4738, allocations: 25.7 kB / 0.7246 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.4739, allocations: 110.3 kB / 0.7247 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.4739, allocations: 73.14 kB / 0.7247 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.474, allocations: 33.41 kB / 0.7248 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.474, allocations: 333.6 kB / 0.7251 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.4742, allocations: 133.1 kB / 0.7252 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.4744, allocations: 139.6 kB / 0.7254 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.4748, allocations: 294.4 kB / 0.7256 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4748, allocations: 4.641 kB / 0.7256 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004579/0.4753, allocations: 331.4 kB / 0.726 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4753, allocations: 6.922 kB / 0.726 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.4753, allocations: 5.188 kB / 0.726 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4753, allocations: 1.547 kB / 0.726 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4755, allocations: 42.7 kB / 0.726 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4755, allocations: 0 / 0.726 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.4756, allocations: 41.64 kB / 0.726 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.4756, allocations: 3.422 kB / 0.726 GB, free: 19.73 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.0001026/0.4757, allocations: 140.1 kB / 0.7262 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.4757, allocations: 14.22 kB / 0.7262 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.4763, allocations: 366.9 kB / 0.7265 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4763, allocations: 0 / 0.7265 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4763, allocations: 2.828 kB / 0.7265 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.4763, allocations: 24.69 kB / 0.7266 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.4763, allocations: 1.641 kB / 0.7266 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4764, allocations: 27.41 kB / 0.7266 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.4765, allocations: 18.12 kB / 0.7266 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005528/0.477, allocations: 435.9 kB / 0.727 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004937/0.4775, allocations: 0.4998 MB / 0.7275 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002277/0.4777, allocations: 146.9 kB / 0.7277 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.982e-05/0.4778, allocations: 112.4 kB / 0.7278 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of Backend: time 3.71e-07/0.4778, allocations: 0 / 0.7278 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006219/0.4784, allocations: 315.8 kB / 0.7281 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005964/0.479, allocations: 0.7996 MB / 0.7289 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.005124/0.4841, allocations: 2.669 MB / 0.7315 GB, free: 17.72 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.125822460977361] Failed to read output from testmodel.py, exit status != 0: 0.4894631521310657 0.499021206 0.026995111000000002 Calling exit ...