Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.0006663/0.0006663, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000962/0.001628, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0015/0.0015, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.003202, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.04/1.04, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09873/1.139, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.7347/0.7347, allocations: 154.6 MB / 398.8 MB, free: 400 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2609/0.9957, allocations: 49.04 MB / 447.8 MB, free: 6.613 MB / 426.7 MB " [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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 449.1 MB, free: 5.332 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.273e-05, allocations: 2.312 kB / 449.1 MB, free: 5.328 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001638/0.001661, allocations: 0.6697 MB / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.002458, allocations: 0.8686 MB / 450.7 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.002481, allocations: 0.875 kB / 450.7 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.002501, allocations: 0 / 450.7 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.404e-05/0.002535, allocations: 5.531 kB / 450.7 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.06e-05/0.002605, allocations: 21.59 kB / 450.7 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.287e-05/0.002668, allocations: 24.47 kB / 450.7 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.002737, allocations: 8 kB / 450.7 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.002811, allocations: 17.41 kB / 450.7 MB, free: 3.758 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.002859, allocations: 14.5 kB / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.002878, allocations: 0 / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.002887, allocations: 4 kB / 450.8 MB, free: 3.742 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.002903, allocations: 5.859 kB / 450.8 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.00292, allocations: 5.859 kB / 450.8 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.002998, allocations: 17.17 kB / 450.8 MB, free: 3.719 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.00301, allocations: 1.281 kB / 450.8 MB, free: 3.719 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.003011, allocations: 0.6562 kB / 450.8 MB, free: 3.719 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.003024, allocations: 0 / 450.8 MB, free: 3.719 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0034/0.006424, allocations: 235.4 kB / 451 MB, free: 3.465 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.006455, allocations: 8.031 kB / 451 MB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.006486, allocations: 6 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.006568, allocations: 113.7 kB / 451.1 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.00659, allocations: 5.547 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.006599, allocations: 1.281 kB / 451.1 MB, free: 3.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.006715, allocations: 56.75 kB / 451.2 MB, free: 3.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006722, allocations: 4.172 kB / 451.2 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.006728, allocations: 2.031 kB / 451.2 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.006732, allocations: 384 / 451.2 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.006755, allocations: 8.812 kB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.006951, allocations: 152.2 kB / 451.4 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.846e-05/0.007, allocations: 19.27 kB / 451.4 MB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.007017, allocations: 10.02 kB / 451.4 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.007029, allocations: 1.5 kB / 451.4 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.007049, allocations: 38.59 kB / 451.4 MB, free: 2.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.00705, allocations: 0.625 kB / 451.4 MB, free: 2.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001118/0.007162, allocations: 44.95 kB / 451.5 MB, free: 2.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.007191, allocations: 55.89 kB / 451.5 MB, free: 2.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.007244, allocations: 106.7 kB / 451.6 MB, free: 2.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.007254, allocations: 25.7 kB / 451.7 MB, free: 2.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.007281, allocations: 80.14 kB / 451.7 MB, free: 2.641 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.007304, allocations: 7.953 kB / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.00733, allocations: 10.27 kB / 451.8 MB, free: 2.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.007406, allocations: 322.8 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.007417, allocations: 0.9062 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.007427, allocations: 4 kB / 452.1 MB, free: 2.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.007454, allocations: 18.7 kB / 452.1 MB, free: 2.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007456, allocations: 1.094 kB / 452.1 MB, free: 2.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.558e-05/0.007511, allocations: 37.64 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.007523, allocations: 8.5 kB / 452.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007528, allocations: 0 / 452.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.007538, allocations: 0.6875 kB / 452.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.007609, allocations: 12.55 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.007611, allocations: 0 / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.007632, allocations: 4.562 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.007636, allocations: 0.625 kB / 452.2 MB, free: 2.203 MB / 426.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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.532e-05/0.007691, allocations: 114.5 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.007709, allocations: 0.7656 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.007727, allocations: 8.25 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007729, allocations: 1.078 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.007731, allocations: 5.656 kB / 452.3 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.007733, allocations: 4 kB / 452.3 MB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.501e-05/0.007828, allocations: 65.89 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007829, allocations: 0 / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.007855, allocations: 4.656 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-06/0.007861, allocations: 4.906 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.007863, allocations: 4 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.007868, allocations: 4.984 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.007869, allocations: 0 / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.007872, allocations: 7.875 kB / 452.4 MB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/0.007951, allocations: 129.5 kB / 452.5 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.007961, allocations: 3.984 kB / 452.5 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.008007, allocations: 0.6562 kB / 452.5 MB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.00804, allocations: 11.98 kB / 452.5 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.008044, allocations: 1.828 kB / 452.5 MB, free: 1.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.48e-05/0.008058, allocations: 16.78 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008059, allocations: 0.5469 kB / 452.5 MB, free: 1.785 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.008226, allocations: 5.062 kB / 452.5 MB, free: 1.781 MB / 426.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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.715e-05/0.008303, allocations: 81.52 kB / 452.6 MB, free: 1.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.318e-05/0.008366, allocations: 21.77 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.008372, allocations: 4 kB / 452.6 MB, free: 1.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.008396, allocations: 10.23 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.008569, allocations: 39.19 kB / 452.7 MB, free: 1.609 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.009021, allocations: 110.5 kB / 452.8 MB, free: 1.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.009055, allocations: 55.36 kB / 452.9 MB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.561e-05/0.00908, allocations: 5.094 kB / 452.9 MB, free: 1.402 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.009133, allocations: 52.59 kB / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.009134, allocations: 0 / 452.9 MB, free: 1.352 MB / 426.7 MB Notification: Performance of Templates: time 0.002333/0.01147, allocations: 0.6639 MB / 453.6 MB, free: 0.7188 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5566832507029176]