Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001125/0.001125, allocations: 80.94 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.001235/0.001235, allocations: 177 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.029/1.029, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7594/0.7594, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 480.3 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.468e-05, allocations: 2.312 kB / 480.3 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001872/0.001897, allocations: 0.6147 MB / 480.9 MB, free: 5.965 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003091, allocations: 0.8745 MB / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.003128, allocations: 0 / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.003158, allocations: 0 / 481.8 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.003232, allocations: 10.86 kB / 481.8 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.003384, allocations: 15.98 kB / 481.8 MB, free: 5.059 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.003458, allocations: 23.59 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.003537, allocations: 4.688 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.003635, allocations: 17.61 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.003686, allocations: 9.484 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.00371, allocations: 4 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-06/0.003719, allocations: 1.031 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.003878, allocations: 8.75 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.003898, allocations: 5.203 kB / 481.9 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.068e-05/0.003979, allocations: 17.58 kB / 481.9 MB, free: 4.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.003983, allocations: 4 kB / 481.9 MB, free: 4.977 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003984, allocations: 1.609 kB / 481.9 MB, free: 4.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.003988, allocations: 7.938 kB / 481.9 MB, free: 4.969 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.0003187/0.004307, allocations: 233.9 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.004346, allocations: 8.031 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.004374, allocations: 0.9375 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.004462, allocations: 112.8 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.004482, allocations: 384 / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.004495, allocations: 4.375 kB / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.004626, allocations: 58.94 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004634, allocations: 1.375 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004641, allocations: 384 / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004647, allocations: 384 / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.004679, allocations: 12.58 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.004927, allocations: 152.3 kB / 482.5 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.004985, allocations: 28.7 kB / 482.5 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.005002, allocations: 4.859 kB / 482.5 MB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.005015, allocations: 7.438 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005037, allocations: 30.56 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.005038, allocations: 0 / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.005163, allocations: 41.62 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.005197, allocations: 55.34 kB / 482.7 MB, free: 4.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.005263, allocations: 110.7 kB / 482.8 MB, free: 4.012 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.005274, allocations: 26.47 kB / 482.8 MB, free: 3.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.005303, allocations: 80.14 kB / 482.9 MB, free: 3.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.005322, allocations: 4.859 kB / 482.9 MB, free: 3.895 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.005358, allocations: 17.72 kB / 482.9 MB, free: 3.871 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.005446, allocations: 318.8 kB / 483.2 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.005462, allocations: 0.875 kB / 483.2 MB, free: 3.551 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.005478, allocations: 8.891 kB / 483.2 MB, free: 3.543 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.005512, allocations: 13.41 kB / 483.2 MB, free: 3.527 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005514, allocations: 0.625 kB / 483.2 MB, free: 3.527 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.14e-05/0.005585, allocations: 42.25 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.005599, allocations: 4.625 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005604, allocations: 0 / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.005616, allocations: 5.172 kB / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.005704, allocations: 8.562 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005708, allocations: 3.984 kB / 483.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.005734, allocations: 4.625 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005739, allocations: 0 / 483.3 MB, free: 3.457 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 6.604e-05/0.005805, allocations: 107.9 kB / 483.4 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.005829, allocations: 6.719 kB / 483.4 MB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.00585, allocations: 12.33 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.005851, allocations: 0 / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.005854, allocations: 3.938 kB / 483.4 MB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.005859, allocations: 3.984 kB / 483.4 MB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.005976, allocations: 65.91 kB / 483.5 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.005978, allocations: 1.266 kB / 483.5 MB, free: 3.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.006016, allocations: 11.98 kB / 483.5 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006018, allocations: 4.812 kB / 483.5 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.006024, allocations: 0 / 483.5 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006025, allocations: 0.625 kB / 483.5 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006026, allocations: 0.9844 kB / 483.5 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.006127, allocations: 136.1 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.006133, allocations: 0.6875 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.006143, allocations: 1.219 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.006204, allocations: 8 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.00624, allocations: 3.984 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.006245, allocations: 4 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.559e-05/0.006261, allocations: 14.25 kB / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006261, allocations: 0 / 483.7 MB, free: 3.047 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.006465, allocations: 4.547 kB / 483.7 MB, free: 3.043 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 9.547e-05/0.00656, allocations: 86.31 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.006632, allocations: 16.8 kB / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.006635, allocations: 0 / 483.8 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.006659, allocations: 9.609 kB / 483.8 MB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.00684, allocations: 10.03 kB / 483.8 MB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.007092, allocations: 110.5 kB / 483.9 MB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.007129, allocations: 55.36 kB / 484 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.007154, allocations: 2.188 kB / 484 MB, free: 2.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.00721, allocations: 55.36 kB / 484 MB, free: 2.648 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00721, allocations: 0 / 484 MB, free: 2.648 MB / 442.7 MB Notification: Performance of Templates: time 0.002512/0.009722, allocations: 0.6486 MB / 484.7 MB, free: 2.039 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7386918612755835]