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.0008743/0.0008743, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008202/0.0008202, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9214/0.9214, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7444/0.7444, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.0009046/0.0009046, allocations: 68.53 kB / 0.6196 GB, free: 13.04 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.5702/0.5711, allocations: 101.9 MB / 0.7192 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001488/0.5726, allocations: 0.7993 MB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.5735, allocations: 1.031 MB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.5736, allocations: 5.344 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.5737, allocations: 10.88 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.5737, allocations: 21.45 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.5741, allocations: 97.28 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.5742, allocations: 120.6 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.5744, allocations: 33.47 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.5745, allocations: 75.05 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.5745, allocations: 62.08 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.5746, allocations: 9.969 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.5747, allocations: 83.84 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.5747, allocations: 43.67 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.5748, allocations: 47.78 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.575, allocations: 215.5 kB / 0.7218 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.575, allocations: 0 / 0.7218 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.575, allocations: 0 / 0.7218 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.5751, allocations: 4 kB / 0.7218 GB, free: 22.01 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.0005388/0.5756, allocations: 428.5 kB / 0.7222 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5756, allocations: 9.594 kB / 0.7222 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.5757, allocations: 23.27 kB / 0.7222 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.5758, allocations: 146 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.5758, allocations: 7.594 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.5758, allocations: 6.328 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.5762, allocations: 207.1 kB / 0.7225 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.5762, allocations: 5.062 kB / 0.7226 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.5762, allocations: 9 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5762, allocations: 2.156 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.5766, allocations: 221.9 kB / 0.7228 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.5772, allocations: 457.5 kB / 0.7232 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.5775, allocations: 145.1 kB / 0.7234 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.5777, allocations: 143.8 kB / 0.7235 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.5778, allocations: 5.656 kB / 0.7235 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.5778, allocations: 32.52 kB / 0.7235 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.313e-06/0.5778, allocations: 1.156 kB / 0.7235 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.0008309/0.5786, allocations: 480.8 kB / 0.724 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.5786, allocations: 53.73 kB / 0.724 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.5787, allocations: 154.8 kB / 0.7242 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.5787, allocations: 30.89 kB / 0.7242 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.5788, allocations: 110.2 kB / 0.7243 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.5788, allocations: 73.77 kB / 0.7244 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.5789, allocations: 33.5 kB / 0.7244 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.5789, allocations: 328.7 kB / 0.7247 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.5791, allocations: 129.9 kB / 0.7249 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5794, allocations: 134.2 kB / 0.725 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.5798, allocations: 303.3 kB / 0.7253 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5798, allocations: 0 / 0.7253 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005045/0.5803, allocations: 332.4 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.5803, allocations: 5.75 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.5804, allocations: 2 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5804, allocations: 1.25 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.5805, allocations: 34.14 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5805, allocations: 1.5 kB / 0.7256 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.934e-05/0.5806, allocations: 49.02 kB / 0.7257 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.5806, allocations: 6.109 kB / 0.7257 GB, free: 19.85 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 9.233e-05/0.5807, allocations: 141.5 kB / 0.7258 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.5808, allocations: 13.16 kB / 0.7258 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006309/0.5814, allocations: 366.8 kB / 0.7262 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5814, allocations: 1.25 kB / 0.7262 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5814, allocations: 1.938 kB / 0.7262 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5814, allocations: 5.062 kB / 0.7262 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5816, allocations: 195.4 kB / 0.7264 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.5816, allocations: 13.58 kB / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.5817, allocations: 34.84 kB / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5817, allocations: 1.766 kB / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.5817, allocations: 1.125 kB / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5817, allocations: 0 / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5817, allocations: 1.906 kB / 0.7264 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.5823, allocations: 439.5 kB / 0.7268 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.5823, allocations: 17.78 kB / 0.7269 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.5823, allocations: 4.75 kB / 0.7269 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5824, allocations: 32.11 kB / 0.7269 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.5825, allocations: 13.77 kB / 0.7269 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.5825, allocations: 2.906 kB / 0.7269 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.5825, allocations: 116.7 kB / 0.727 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5825, allocations: 0 / 0.727 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002399/0.5828, allocations: 46.09 kB / 0.7271 GB, free: 19.09 MB / 0.6355 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.0001719/0.5829, allocations: 114.1 kB / 0.7272 GB, free: 19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.5835, allocations: 367 kB / 0.7275 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5835, allocations: 0 / 0.7275 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.5838, allocations: 223.5 kB / 0.7277 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.584, allocations: 16.72 kB / 0.7278 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.5845, allocations: 355.2 kB / 0.7281 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.5846, allocations: 127.5 kB / 0.7282 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.952e-05/0.5847, allocations: 17.17 kB / 0.7282 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.5847, allocations: 16.97 kB / 0.7283 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5847, allocations: 0 / 0.7283 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.004422/0.5891, allocations: 2.153 MB / 0.7304 GB, free: 18.24 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.505555716110393] Failed to read output from testmodel.py, exit status != 0: 0.5945829009870067 0.604811178 0.02774493 Calling exit ...