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.0006937/0.0006937, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008773/0.001571, 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.0006822/0.0006822, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000924/0.001606, 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.028/1.028, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09657/1.125, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7779/0.7779, allocations: 155.3 MB / 399.5 MB, free: 15.78 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2866/1.065, allocations: 49.13 MB / 448.6 MB, free: 5.906 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-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 1.833e-06/1.833e-06, allocations: 1.094 kB / 449.9 MB, free: 4.637 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.989e-05, allocations: 7.578 kB / 449.9 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001216/0.001236, allocations: 0.6675 MB / 450.6 MB, free: 3.996 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.001918, allocations: 0.8729 MB / 451.5 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.001943, allocations: 0.7656 kB / 451.5 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.001964, allocations: 0 / 451.5 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.001996, allocations: 9.453 kB / 451.5 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.617e-05/0.002062, allocations: 16.55 kB / 451.5 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.002127, allocations: 23.92 kB / 451.5 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.002197, allocations: 7.109 kB / 451.5 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.002276, allocations: 25.59 kB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.002325, allocations: 13.52 kB / 451.5 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.002346, allocations: 0 / 451.5 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.002353, allocations: 4 kB / 451.6 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.00237, allocations: 4.984 kB / 451.6 MB, free: 3.027 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.002386, allocations: 5.094 kB / 451.6 MB, free: 3.023 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.974e-05/0.002456, allocations: 14.84 kB / 451.6 MB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.002466, allocations: 0 / 451.6 MB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002467, allocations: 4.594 kB / 451.6 MB, free: 3.008 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.002474, allocations: 0 / 451.6 MB, free: 3.008 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.0003183/0.002793, allocations: 236.7 kB / 451.8 MB, free: 2.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.002822, allocations: 8.031 kB / 451.8 MB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.002851, allocations: 12.92 kB / 451.8 MB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.002933, allocations: 111.6 kB / 451.9 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.002952, allocations: 5.531 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.002961, allocations: 384 / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.003066, allocations: 59.56 kB / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.003073, allocations: 2.906 kB / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.003079, allocations: 384 / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003084, allocations: 384 / 452 MB, free: 2.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.003105, allocations: 8.594 kB / 452 MB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.003303, allocations: 148.2 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.003348, allocations: 18.58 kB / 452.2 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.003365, allocations: 17.92 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.003377, allocations: 1.547 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.003398, allocations: 31.22 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.003398, allocations: 0.5469 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001152/0.003514, allocations: 43.36 kB / 452.3 MB, free: 2.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.003542, allocations: 55.34 kB / 452.3 MB, free: 2.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.003602, allocations: 106.7 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.003612, allocations: 25.7 kB / 452.5 MB, free: 2.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.003644, allocations: 82.11 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.003661, allocations: 7.953 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.003684, allocations: 18.67 kB / 452.6 MB, free: 1.902 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.003759, allocations: 318.8 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-06/0.003768, allocations: 0.8438 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.003776, allocations: 4 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.003798, allocations: 13.66 kB / 452.9 MB, free: 1.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0038, allocations: 1 kB / 452.9 MB, free: 1.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.117e-05/0.003841, allocations: 37.64 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.003853, allocations: 8.625 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.003856, allocations: 0.7656 kB / 452.9 MB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.003869, allocations: 5.203 kB / 452.9 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.003935, allocations: 7.938 kB / 452.9 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.003937, allocations: 0 / 452.9 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.003955, allocations: 4.594 kB / 453 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.003959, allocations: 5.109 kB / 453 MB, free: 1.492 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.528e-05/0.004015, allocations: 109.8 kB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.004026, allocations: 0.875 kB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.004047, allocations: 7.844 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.004049, allocations: 1.922 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.004052, allocations: 7.938 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004055, allocations: 1.156 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.465e-05/0.004129, allocations: 65.89 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.00413, allocations: 0 / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.004151, allocations: 8.531 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.004158, allocations: 14.67 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004159, allocations: 0 / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.004163, allocations: 0 / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.004164, allocations: 0 / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.004166, allocations: 7.938 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.074e-05/0.004237, allocations: 132.7 kB / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.004244, allocations: 0 / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.78e-05/0.004272, allocations: 0.5469 kB / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.004308, allocations: 12.58 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.00431, allocations: 1.344 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.166e-05/0.004322, allocations: 14.44 kB / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004322, allocations: 0 / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001091/0.004431, allocations: 4.656 kB / 453.3 MB, free: 1.074 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.016e-05/0.004501, allocations: 89.38 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.578e-05/0.004567, allocations: 18.09 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.004572, allocations: 1.094 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.004591, allocations: 10.06 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.004728, allocations: 38.31 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.005065, allocations: 109.9 kB / 453.6 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.005098, allocations: 63.83 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.00512, allocations: 2.969 kB / 453.7 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.005168, allocations: 55.38 kB / 453.7 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005169, allocations: 0.5938 kB / 453.7 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of Templates: time 0.001959/0.007128, allocations: 0.6597 MB / 454.4 MB, free: 8 kB / 426.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.5634028892964125]