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.00153/0.00153, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002087/0.002087, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 1.242/1.242, allocations: 203.5 MB / 0.5038 GB, free: 4.926 MB / 414.1 MB " [Timeout remaining time 178] 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.002229/0.002229, allocations: 75.88 kB / 0.7183 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6362/0.6384, allocations: 102 MB / 0.8179 GB, free: 29.12 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002121/0.6406, allocations: 0.8051 MB / 0.8187 GB, free: 28.64 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.6419, allocations: 1.03 MB / 0.8197 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.642, allocations: 2.25 kB / 0.8197 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.6421, allocations: 12.7 kB / 0.8197 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.6421, allocations: 21.58 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.6426, allocations: 99.7 kB / 0.8198 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.6428, allocations: 117.7 kB / 0.8199 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.6429, allocations: 38.94 kB / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.643, allocations: 55.91 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.6431, allocations: 53.5 kB / 0.8201 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.6431, allocations: 10.94 kB / 0.8201 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.6433, allocations: 82.66 kB / 0.8202 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.6433, allocations: 46.5 kB / 0.8202 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.6434, allocations: 48.33 kB / 0.8202 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.6437, allocations: 222.7 kB / 0.8205 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6437, allocations: 0.5625 kB / 0.8205 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6437, allocations: 1.031 kB / 0.8205 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.6437, allocations: 0 / 0.8205 GB, free: 27.56 MB / 0.6387 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.0008029/0.6445, allocations: 421.2 kB / 0.8209 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6445, allocations: 9.688 kB / 0.8209 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.6446, allocations: 19.39 kB / 0.8209 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.6448, allocations: 160.6 kB / 0.821 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.6448, allocations: 7.156 kB / 0.8211 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.6448, allocations: 5.062 kB / 0.8211 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.6454, allocations: 207.7 kB / 0.8213 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6454, allocations: 192 / 0.8213 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.6455, allocations: 8.5 kB / 0.8213 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.6455, allocations: 2.469 kB / 0.8213 GB, free: 26.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/0.6464, allocations: 221.8 kB / 0.8215 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.6473, allocations: 454.3 kB / 0.8219 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.6477, allocations: 149.6 kB / 0.8221 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.6481, allocations: 143.9 kB / 0.8222 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.214e-05/0.6482, allocations: 9.25 kB / 0.8222 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.6482, allocations: 32.48 kB / 0.8222 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.6482, allocations: 3.906 kB / 0.8222 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001376/0.6496, allocations: 474.8 kB / 0.8227 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.6496, allocations: 57.44 kB / 0.8227 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6497, allocations: 158.2 kB / 0.8229 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.6497, allocations: 27.14 kB / 0.8229 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.6497, allocations: 110 kB / 0.823 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.6498, allocations: 73.14 kB / 0.8231 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.6499, allocations: 33.64 kB / 0.8231 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.032e-05/0.6499, allocations: 328.2 kB / 0.8234 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.6503, allocations: 137.9 kB / 0.8236 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.6507, allocations: 130.9 kB / 0.8237 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.6515, allocations: 299.1 kB / 0.824 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6515, allocations: 0 / 0.824 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008694/0.6523, allocations: 332.5 kB / 0.8243 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6524, allocations: 5.031 kB / 0.8243 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.6524, allocations: 2.078 kB / 0.8243 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6524, allocations: 1.188 kB / 0.8243 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.6526, allocations: 41.88 kB / 0.8243 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.6526, allocations: 1.531 kB / 0.8243 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.6528, allocations: 47.91 kB / 0.8244 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.6529, allocations: 3.453 kB / 0.8244 GB, free: 25.42 MB / 0.6387 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.0001114/0.653, allocations: 145.7 kB / 0.8245 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.653, allocations: 17.47 kB / 0.8246 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009324/0.654, allocations: 358.4 kB / 0.8249 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.654, allocations: 2.953 kB / 0.8249 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.654, allocations: 0 / 0.8249 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.654, allocations: 7.938 kB / 0.8249 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.6542, allocations: 193.1 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.6542, allocations: 2.047 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.6544, allocations: 38.17 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.6544, allocations: 1.844 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6544, allocations: 1.062 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6545, allocations: 1.031 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6545, allocations: 0.7031 kB / 0.8251 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.6553, allocations: 436 kB / 0.8255 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.6554, allocations: 17.56 kB / 0.8256 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.6554, allocations: 4.75 kB / 0.8256 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.6556, allocations: 31.91 kB / 0.8256 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6557, allocations: 13.83 kB / 0.8256 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.6557, allocations: 3.203 kB / 0.8256 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.43e-05/0.6558, allocations: 114.6 kB / 0.8257 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6558, allocations: 0 / 0.8257 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003402/0.6561, allocations: 50.55 kB / 0.8258 GB, free: 24.66 MB / 0.6387 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.0002276/0.6563, allocations: 122.5 kB / 0.8259 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009542/0.6573, allocations: 359.4 kB / 0.8262 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6573, allocations: 4 kB / 0.8262 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.6577, allocations: 222.7 kB / 0.8264 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.6581, allocations: 18.92 kB / 0.8265 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000654/0.6587, allocations: 353.5 kB / 0.8268 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.6589, allocations: 120.6 kB / 0.8269 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.622e-05/0.6589, allocations: 17.78 kB / 0.8269 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.659, allocations: 15.56 kB / 0.8269 GB, free: 24.03 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.659, allocations: 4 kB / 0.827 GB, free: 24.03 MB / 0.6387 GB Notification: Performance of Templates: time 0.006281/0.6653, allocations: 2.265 MB / 0.8292 GB, free: 23.8 MB / 0.6387 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: 6.93622619099915] Failed to read output from testmodel.py, exit status != 0: 0.6742576621472836 0.6878605000000001 0.041002155000000005 Calling exit ...