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.001407/0.001407, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.001388/0.001388, allocations: 165.5 kB / 22.46 MB, free: 5.379 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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.226/1.226, allocations: 154.6 MB / 413.8 MB, free: 5.195 MB / 382.1 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 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: Performance of FrontEnd - loaded program: time 4.689e-06/4.689e-06, allocations: 0 / 0.6186 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.808e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002671/0.002719, allocations: 0.7923 MB / 0.6194 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.004673, allocations: 1.035 MB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.004747, allocations: 4 kB / 0.6204 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.004875, allocations: 15.81 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.004949, allocations: 31.72 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.005423, allocations: 95.8 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.0056, allocations: 119.6 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.005826, allocations: 37.22 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.005969, allocations: 71.86 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.006068, allocations: 43.89 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.006102, allocations: 8 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.006322, allocations: 95.78 kB / 0.6209 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.006403, allocations: 51.83 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.006461, allocations: 27.92 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.006813, allocations: 227.2 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.006819, allocations: 0 / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00682, allocations: 0 / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.006826, allocations: 0 / 0.6212 GB, free: 1.816 MB / 0.5294 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.0009677/0.007794, allocations: 429.4 kB / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.007839, allocations: 12.03 kB / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.007901, allocations: 16.8 kB / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.008142, allocations: 157.4 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.008155, allocations: 384 / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.008181, allocations: 20.34 kB / 0.6218 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.008793, allocations: 202 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.008804, allocations: 4.188 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.008819, allocations: 384 / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.008827, allocations: 4.375 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.009609, allocations: 231.5 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.01055, allocations: 444.1 kB / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.01103, allocations: 162.3 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.01148, allocations: 141.6 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.01154, allocations: 4 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.01157, allocations: 30.56 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 3.497e-06/0.01158, allocations: 4 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001512/0.01309, allocations: 476.7 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.01314, allocations: 51.41 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01329, allocations: 158.3 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.01332, allocations: 29.7 kB / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.0134, allocations: 104.6 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.01347, allocations: 71.33 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-05/0.01354, allocations: 33.7 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.0137, allocations: 330.8 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.01414, allocations: 136.1 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.01455, allocations: 135.8 kB / 0.6245 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/0.01539, allocations: 293.9 kB / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0154, allocations: 0 / 0.6247 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009266/0.01632, allocations: 338.3 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01634, allocations: 4 kB / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.01635, allocations: 0 / 0.6251 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.01637, allocations: 8 kB / 0.6251 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.01661, allocations: 31.95 kB / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01662, allocations: 0 / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.01681, allocations: 43.84 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.01684, allocations: 0 / 0.6251 GB, free: 13.62 MB / 0.545 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.0001565/0.017, allocations: 150.7 kB / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.01704, allocations: 11.91 kB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.01806, allocations: 367.2 kB / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01807, allocations: 0 / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01807, allocations: 4 kB / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01807, allocations: 0 / 0.6257 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.01832, allocations: 197.1 kB / 0.6258 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.01833, allocations: 0 / 0.6258 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.01854, allocations: 35.95 kB / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01854, allocations: 0 / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01856, allocations: 0 / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01856, allocations: 4 kB / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01856, allocations: 4 kB / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/0.01955, allocations: 437.1 kB / 0.6263 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.01957, allocations: 19.78 kB / 0.6263 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01959, allocations: 0 / 0.6263 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.01981, allocations: 31.95 kB / 0.6264 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.01988, allocations: 15.97 kB / 0.6264 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.01989, allocations: 4 kB / 0.6264 GB, free: 12.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.01997, allocations: 110.5 kB / 0.6265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01997, allocations: 0 / 0.6265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003047/0.02028, allocations: 47.88 kB / 0.6265 GB, free: 12.16 MB / 0.545 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.0002397/0.02052, allocations: 124.9 kB / 0.6266 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.02153, allocations: 371.1 kB / 0.627 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02154, allocations: 0 / 0.627 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.02206, allocations: 223.2 kB / 0.6272 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.02239, allocations: 27.86 kB / 0.6272 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.02302, allocations: 346.5 kB / 0.6276 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.02315, allocations: 123.1 kB / 0.6277 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.438e-05/0.02323, allocations: 19.97 kB / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.02328, allocations: 16.5 kB / 0.6277 GB, free: 10.85 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.02328, allocations: 0 / 0.6277 GB, free: 10.85 MB / 0.545 GB Notification: Performance of Templates: time 0.005802/0.02908, allocations: 2.167 MB / 0.6298 GB, free: 8.734 MB / 0.545 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.831580720841885] Failed to read output from testmodel.py, exit status != 0: 0.038154397159814835 0.052234093 0.042358199000000006 Calling exit ...