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.0008751/0.0008751, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009086/0.0009086, allocations: 173 kB / 23.5 MB, free: 1.055 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.625 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-545:108: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-545:116: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.8449/0.8449, allocations: 154.6 MB / 414.9 MB, free: 0.6445 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: Performance of FrontEnd - loaded program: time 3.566e-06/3.566e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.921e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.426 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002447/0.002486, allocations: 0.8147 MB / 0.5212 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.004039, allocations: 1.054 MB / 0.5222 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.004117, allocations: 5.812 kB / 0.5222 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.004265, allocations: 15.8 kB / 0.5223 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.385e-05/0.004328, allocations: 23.8 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.004844, allocations: 97.38 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.005043, allocations: 123.6 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.005234, allocations: 33.23 kB / 0.5225 GB, free: 284 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.00538, allocations: 81.08 kB / 0.5226 GB, free: 204 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.005468, allocations: 43.88 kB / 0.5226 GB, free: 160 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.005501, allocations: 8 kB / 0.5226 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.005701, allocations: 87.91 kB / 0.5227 GB, free: 64 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.005775, allocations: 40.47 kB / 0.5228 GB, free: 24 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.005851, allocations: 36.73 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.006146, allocations: 179.2 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006149, allocations: 1.406 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00615, allocations: 0 / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.006157, allocations: 0 / 0.523 GB, free: 15.81 MB / 0.4948 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.0006972/0.006854, allocations: 496.8 kB / 0.5234 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.006906, allocations: 12.03 kB / 0.5235 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.00698, allocations: 32.38 kB / 0.5235 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.0072, allocations: 151.8 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.007217, allocations: 8.375 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.007238, allocations: 8.375 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.007568, allocations: 126.8 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.007579, allocations: 192 / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.007594, allocations: 384 / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.007609, allocations: 4.375 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.007718, allocations: 40.28 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.008419, allocations: 420.5 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.008523, allocations: 52 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.008594, allocations: 31.69 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.008652, allocations: 13.45 kB / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.008684, allocations: 33.39 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=25): time 1.532e-06/0.008686, allocations: 0 / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25): time 0.0004341/0.00912, allocations: 169.1 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.009188, allocations: 52.06 kB / 0.5246 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.009374, allocations: 205.9 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.009404, allocations: 26.3 kB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.009495, allocations: 165.2 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.009563, allocations: 67.39 kB / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.009625, allocations: 43.36 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.009764, allocations: 0.504 MB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.009826, allocations: 16 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.009871, allocations: 26.73 kB / 0.5256 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.009975, allocations: 83.55 kB / 0.5257 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.00998, allocations: 4 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001865/0.01017, allocations: 114.9 kB / 0.5258 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.01018, allocations: 9.812 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.0102, allocations: 4 kB / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01022, allocations: 0 / 0.5258 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.01035, allocations: 25.7 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01036, allocations: 0 / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.01042, allocations: 27.86 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.01045, allocations: 0 / 0.5258 GB, free: 12.7 MB / 0.4948 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.0001035/0.01055, allocations: 176.6 kB / 0.526 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.01058, allocations: 11.91 kB / 0.526 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.01082, allocations: 168.6 kB / 0.5262 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01083, allocations: 0 / 0.5262 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01083, allocations: 0.625 kB / 0.5262 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01084, allocations: 0 / 0.5262 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.01101, allocations: 183.3 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.01102, allocations: 3.984 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.01111, allocations: 19.98 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01111, allocations: 0 / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01113, allocations: 4 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.01113, allocations: 4 kB / 0.5264 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.01113, allocations: 0 / 0.5264 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.01137, allocations: 292.5 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.01139, allocations: 19.8 kB / 0.5267 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.01141, allocations: 3.984 kB / 0.5267 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01152, allocations: 15.98 kB / 0.5267 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.01159, allocations: 11.98 kB / 0.5267 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.0116, allocations: 4 kB / 0.5267 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.01167, allocations: 150.4 kB / 0.5269 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01167, allocations: 1.812 kB / 0.5269 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002232/0.01189, allocations: 43.94 kB / 0.5269 GB, free: 11.56 MB / 0.4948 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.0002388/0.01213, allocations: 122.4 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.01236, allocations: 155.8 kB / 0.5272 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01237, allocations: 0 / 0.5272 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.01245, allocations: 115.1 kB / 0.5273 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01271, allocations: 32.62 kB / 0.5273 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.01318, allocations: 306.8 kB / 0.5276 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01323, allocations: 79.48 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.081e-05/0.01328, allocations: 19.56 kB / 0.5277 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.01332, allocations: 15.19 kB / 0.5277 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.01332, allocations: 0 / 0.5277 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.004439/0.01776, allocations: 2.166 MB / 0.5298 GB, free: 8.598 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.005083768162876]