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.001269/0.001269, allocations: 79.66 kB / 19.18 MB, free: 2.52 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.001462/0.001462, allocations: 168.6 kB / 22.45 MB, free: 5.367 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.418/1.418, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.155/1.155, allocations: 154.7 MB / 413.9 MB, free: 5.145 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 3.126e-06/3.126e-06, allocations: 0 / 0.6188 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.214e-05, allocations: 3.844 kB / 0.6188 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001904/0.001936, allocations: 0.7896 MB / 0.6196 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003406, allocations: 1.038 MB / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.003465, allocations: 0 / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.003596, allocations: 7.875 kB / 0.6206 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.003654, allocations: 31.72 kB / 0.6206 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.004081, allocations: 91.81 kB / 0.6207 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.004242, allocations: 131.6 kB / 0.6209 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004397, allocations: 37.22 kB / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004512, allocations: 71.86 kB / 0.621 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.00459, allocations: 43.89 kB / 0.621 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.004624, allocations: 12 kB / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.004785, allocations: 91.84 kB / 0.6211 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.004854, allocations: 43.83 kB / 0.6211 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.004915, allocations: 35.86 kB / 0.6212 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.005235, allocations: 227.2 kB / 0.6214 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005237, allocations: 0 / 0.6214 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.5e-07/0.005237, allocations: 0 / 0.6214 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.005244, allocations: 0 / 0.6214 GB, free: 1.828 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.0008501/0.006094, allocations: 425.4 kB / 0.6218 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.006135, allocations: 12.03 kB / 0.6218 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.006181, allocations: 16.8 kB / 0.6218 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.006395, allocations: 149.5 kB / 0.622 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.00641, allocations: 4.375 kB / 0.622 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.006436, allocations: 16.36 kB / 0.622 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.007018, allocations: 206 kB / 0.6222 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.007027, allocations: 192 / 0.6222 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.007042, allocations: 4.375 kB / 0.6222 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.007049, allocations: 4.375 kB / 0.6222 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.007772, allocations: 231.5 kB / 0.6224 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.008625, allocations: 448.1 kB / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.009053, allocations: 154.3 kB / 0.623 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.009454, allocations: 145.7 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.00951, allocations: 4 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.009541, allocations: 30.56 kB / 0.6232 GB, free: 15.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.272e-06/0.009543, allocations: 0 / 0.6232 GB, free: 15.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001344/0.01089, allocations: 480.8 kB / 0.6236 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.01093, allocations: 51.41 kB / 0.6237 GB, free: 15.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01107, allocations: 161.5 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01109, allocations: 29.64 kB / 0.6239 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.01116, allocations: 108.6 kB / 0.624 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.01123, allocations: 71.33 kB / 0.624 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.0113, allocations: 41.64 kB / 0.6241 GB, free: 14.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01145, allocations: 330.8 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.01183, allocations: 132.1 kB / 0.6245 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.0122, allocations: 135.8 kB / 0.6246 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.01293, allocations: 293.9 kB / 0.6249 GB, free: 14.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01293, allocations: 0 / 0.6249 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008372/0.01377, allocations: 338.3 kB / 0.6252 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01378, allocations: 4 kB / 0.6252 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.0138, allocations: 0 / 0.6252 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.01381, allocations: 4 kB / 0.6252 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.01403, allocations: 35.94 kB / 0.6253 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01403, allocations: 0 / 0.6253 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.01421, allocations: 43.86 kB / 0.6253 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.01423, allocations: 3.984 kB / 0.6253 GB, free: 13.63 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.0001381/0.01437, allocations: 142.8 kB / 0.6255 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.0144, allocations: 11.91 kB / 0.6255 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009345/0.01534, allocations: 359.2 kB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01534, allocations: 0 / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01534, allocations: 4 kB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01535, allocations: 3.938 kB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.01558, allocations: 197.1 kB / 0.626 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.01558, allocations: 0 / 0.626 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.01578, allocations: 39.95 kB / 0.626 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.01578, allocations: 0 / 0.626 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.01579, allocations: 0 / 0.626 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01579, allocations: 0 / 0.626 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01579, allocations: 4 kB / 0.6261 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000921/0.01671, allocations: 437.1 kB / 0.6265 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.01673, allocations: 15.84 kB / 0.6265 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01675, allocations: 11.92 kB / 0.6265 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.01694, allocations: 27.97 kB / 0.6265 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.01701, allocations: 15.97 kB / 0.6265 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01703, allocations: 8 kB / 0.6265 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.01711, allocations: 115.2 kB / 0.6267 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01711, allocations: 0 / 0.6267 GB, free: 12.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002776/0.01739, allocations: 43.89 kB / 0.6267 GB, free: 12.17 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.0002053/0.01759, allocations: 124.9 kB / 0.6268 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008984/0.01849, allocations: 363.1 kB / 0.6272 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01849, allocations: 0 / 0.6272 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.01893, allocations: 227.2 kB / 0.6274 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01924, allocations: 23.88 kB / 0.6274 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.01983, allocations: 350.5 kB / 0.6277 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.01996, allocations: 127.1 kB / 0.6279 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.729e-05/0.02002, allocations: 11.98 kB / 0.6279 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.02006, allocations: 12.5 kB / 0.6279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.02006, allocations: 0 / 0.6279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of Templates: time 0.005498/0.02556, allocations: 2.188 MB / 0.63 GB, free: 8.738 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.612302338704467] Failed to read output from testmodel.py, exit status != 0: 0.03442121669650078 0.048226976000000005 0.040041012 Calling exit ...