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.001583/0.001583, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.00195/0.00195, allocations: 181 kB / 23.36 MB, free: 1.133 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8268/0.8268, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 2.966e-06/2.966e-06, allocations: 0 / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.374e-05, allocations: 2.312 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002711/0.002744, allocations: 0.8632 MB / 481 MB, free: 5.988 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.004355, allocations: 1.066 MB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.004424, allocations: 0 / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.004561, allocations: 15.81 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.004638, allocations: 19.97 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.00514, allocations: 91.75 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.005361, allocations: 130.6 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.005545, allocations: 29.94 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.005709, allocations: 67.88 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.005815, allocations: 52.36 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.00585, allocations: 12.91 kB / 482.5 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.006096, allocations: 95.84 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.006165, allocations: 43.84 kB / 482.6 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.006218, allocations: 41.06 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.006537, allocations: 175.3 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.006541, allocations: 0 / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006542, allocations: 4.875 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.006547, allocations: 0 / 482.8 MB, free: 4.176 MB / 442.7 MB 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.0006334/0.007181, allocations: 368.4 kB / 483.2 MB, free: 3.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.00723, allocations: 8.031 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.007281, allocations: 9.562 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.007495, allocations: 145.5 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.007512, allocations: 9 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.007528, allocations: 5 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.007874, allocations: 128.7 kB / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.007886, allocations: 5.062 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.007901, allocations: 3.094 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.007913, allocations: 5.938 kB / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.007992, allocations: 32.52 kB / 483.5 MB, free: 3.426 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.008596, allocations: 302.4 kB / 483.8 MB, free: 3.113 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.008704, allocations: 90.41 kB / 483.9 MB, free: 3.016 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.008758, allocations: 29.84 kB / 483.9 MB, free: 2.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.008817, allocations: 4 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.008846, allocations: 30.56 kB / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.008848, allocations: 4.562 kB / 484 MB, free: 2.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002791/0.009127, allocations: 138.1 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.009162, allocations: 51.41 kB / 484.1 MB, free: 2.738 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.009269, allocations: 146.7 kB / 484.3 MB, free: 2.582 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.009286, allocations: 25.7 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.00934, allocations: 113.2 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.009414, allocations: 72.58 kB / 484.5 MB, free: 2.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.009473, allocations: 29.69 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.009589, allocations: 330.8 kB / 484.9 MB, free: 2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.009638, allocations: 18.83 kB / 484.9 MB, free: 1.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.009676, allocations: 17.06 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.009784, allocations: 77.91 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009786, allocations: 0.9375 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001575/0.009943, allocations: 101.5 kB / 485.1 MB, free: 1.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.00996, allocations: 8 kB / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.009976, allocations: 0.6875 kB / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.009991, allocations: 0 / 485.1 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.01013, allocations: 22.02 kB / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.01014, allocations: 3.984 kB / 485.1 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.01021, allocations: 23.88 kB / 485.1 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.01024, allocations: 4.781 kB / 485.1 MB, free: 1.723 MB / 442.7 MB 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.0001229/0.01036, allocations: 122 kB / 485.2 MB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.0104, allocations: 7.984 kB / 485.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.01064, allocations: 140.1 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01064, allocations: 2 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01064, allocations: 0 / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01065, allocations: 4 kB / 485.4 MB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.01084, allocations: 113.7 kB / 485.5 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.01085, allocations: 4 kB / 485.5 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01095, allocations: 24.58 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.01096, allocations: 4.594 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01097, allocations: 2.531 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01097, allocations: 1.312 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01097, allocations: 0 / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.01121, allocations: 255.2 kB / 485.8 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.01124, allocations: 20.78 kB / 485.8 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01126, allocations: 3.938 kB / 485.8 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.01137, allocations: 17.34 kB / 485.8 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.01143, allocations: 15.98 kB / 485.8 MB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.01145, allocations: 8 kB / 485.9 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.01149, allocations: 36.06 kB / 485.9 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01149, allocations: 0.8438 kB / 485.9 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.01178, allocations: 43.89 kB / 485.9 MB, free: 0.8711 MB / 442.7 MB 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.0002496/0.01203, allocations: 110.9 kB / 486 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.01225, allocations: 132.8 kB / 486.2 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.01225, allocations: 0 / 486.2 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01237, allocations: 113.9 kB / 486.3 MB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01265, allocations: 30.38 kB / 486.3 MB, free: 472 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.01321, allocations: 293 kB / 486.6 MB, free: 148 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.01359, allocations: 83.33 kB / 486.7 MB, free: 44 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.01365, allocations: 6.219 kB / 486.7 MB, free: 40 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.01379, allocations: 71.36 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01379, allocations: 0.75 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of Templates: time 0.005515/0.01931, allocations: 2.031 MB / 488.8 MB, free: 14.09 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.713047761004418]