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.001033/0.001033, allocations: 80.81 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.001005/0.001005, allocations: 173 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.034/1.034, 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.8487/0.8487, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.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 1.923e-06/1.923e-06, allocations: 0.7656 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.667e-05, allocations: 2.938 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001324/0.001341, allocations: 0.656 MB / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008446/0.002185, allocations: 0.8737 MB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.002219, allocations: 1 kB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.002247, allocations: 0 / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.002313, allocations: 5.25 kB / 481.6 MB, free: 5.383 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.002446, allocations: 16.47 kB / 481.6 MB, free: 5.367 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.002513, allocations: 24.44 kB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.002587, allocations: 8.609 kB / 481.6 MB, free: 5.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.002684, allocations: 16.86 kB / 481.6 MB, free: 5.324 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.002725, allocations: 6.375 kB / 481.6 MB, free: 5.32 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.002741, allocations: 0 / 481.6 MB, free: 5.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.002748, allocations: 4 kB / 481.6 MB, free: 5.316 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.002767, allocations: 14.06 kB / 481.6 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.002783, allocations: 8.984 kB / 481.6 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.193e-05/0.002855, allocations: 17.45 kB / 481.7 MB, free: 5.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002857, allocations: 1.188 kB / 481.7 MB, free: 5.281 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002857, allocations: 0 / 481.7 MB, free: 5.281 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.746e-06/0.00286, allocations: 0 / 481.7 MB, free: 5.281 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002742/0.003134, allocations: 240.7 kB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.003167, allocations: 8.031 kB / 481.9 MB, free: 5.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.003191, allocations: 4.938 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.377e-05/0.003275, allocations: 112 kB / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.003291, allocations: 384 / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.003297, allocations: 384 / 482 MB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.003402, allocations: 56.06 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.00341, allocations: 192 / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003418, allocations: 1.812 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.003425, allocations: 4.375 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.096e-05/0.003456, allocations: 17.81 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.003676, allocations: 144.4 kB / 482.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.337e-05/0.003719, allocations: 31.39 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.003734, allocations: 10.08 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.003744, allocations: 0 / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.003767, allocations: 34.56 kB / 482.3 MB, free: 4.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.003768, allocations: 0.7812 kB / 482.3 MB, free: 4.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001064/0.003874, allocations: 47.16 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.003903, allocations: 55.34 kB / 482.4 MB, free: 4.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.003956, allocations: 101.5 kB / 482.5 MB, free: 4.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.003966, allocations: 25.7 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.003997, allocations: 88.12 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.004015, allocations: 8.562 kB / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.004037, allocations: 14.59 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.004116, allocations: 311.4 kB / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.004127, allocations: 4.688 kB / 483 MB, free: 3.855 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-06/0.004136, allocations: 4.547 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.004161, allocations: 17.36 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004162, allocations: 0.5938 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.523e-05/0.004207, allocations: 42.56 kB / 483 MB, free: 3.785 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.004218, allocations: 4 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.004222, allocations: 0.9844 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.004233, allocations: 0.5312 kB / 483 MB, free: 3.781 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.004294, allocations: 9.625 kB / 483 MB, free: 3.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.004296, allocations: 4 kB / 483 MB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.004313, allocations: 3.984 kB / 483 MB, free: 3.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.004317, allocations: 0 / 483 MB, free: 3.766 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: 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.105e-05/0.004368, allocations: 110.8 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.004382, allocations: 0 / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.004397, allocations: 5.438 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0044, allocations: 4.547 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.004403, allocations: 3.938 kB / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004406, allocations: 0 / 483.2 MB, free: 3.641 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.499e-05/0.004491, allocations: 79.34 kB / 483.2 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004491, allocations: 0 / 483.2 MB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.004513, allocations: 14.81 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004514, allocations: 0 / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.004518, allocations: 4 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.004519, allocations: 0 / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004519, allocations: 0 / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.253e-05/0.004592, allocations: 134.2 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.004599, allocations: 5.031 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-06/0.004606, allocations: 0 / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.097e-05/0.004637, allocations: 4 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.004673, allocations: 7.984 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.004676, allocations: 5.75 kB / 483.4 MB, free: 3.367 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.124e-05/0.004687, allocations: 12.8 kB / 483.4 MB, free: 3.352 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004687, allocations: 0 / 483.4 MB, free: 3.352 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.004803, allocations: 4 kB / 483.4 MB, free: 3.348 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: 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 6.563e-05/0.004868, allocations: 86.19 kB / 483.5 MB, free: 3.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.312e-05/0.004921, allocations: 10.14 kB / 483.5 MB, free: 3.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.004924, allocations: 4 kB / 483.5 MB, free: 3.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.00494, allocations: 9.578 kB / 483.5 MB, free: 3.227 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.005065, allocations: 13.11 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.005258, allocations: 107.1 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.858e-05/0.005287, allocations: 51.36 kB / 483.7 MB, free: 3.016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.005307, allocations: 5.5 kB / 483.7 MB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.005363, allocations: 60.23 kB / 483.8 MB, free: 2.953 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.005363, allocations: 3.938 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of Templates: time 0.002047/0.00741, allocations: 0.6359 MB / 484.4 MB, free: 2.352 MB / 442.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.618310491088778]