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.001051/0.001051, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.002835, allocations: 435.8 kB / 10.33 MB, free: 368 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.001194/0.001194, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001667/0.002861, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1093/1.122, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7744/0.7744, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3007/1.075, allocations: 49.13 MB / 448.4 MB, free: 6.031 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.824e-06/1.824e-06, allocations: 0 / 449.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.326e-05, allocations: 3.297 kB / 449.7 MB, free: 4.785 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002055/0.002088, allocations: 0.6643 MB / 450.3 MB, free: 4.156 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003245, allocations: 0.8705 MB / 451.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.003273, allocations: 4 kB / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.36e-05/0.003296, allocations: 0 / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.003338, allocations: 8.906 kB / 451.2 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.91e-05/0.003428, allocations: 11.98 kB / 451.2 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003534, allocations: 29.08 kB / 451.2 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003652, allocations: 6.625 kB / 451.2 MB, free: 3.227 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.003772, allocations: 17.52 kB / 451.3 MB, free: 3.211 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.003844, allocations: 12.97 kB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.003872, allocations: 4 kB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.003881, allocations: 3.938 kB / 451.3 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.003906, allocations: 5.641 kB / 451.3 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.003941, allocations: 9.922 kB / 451.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004083, allocations: 13.73 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.094e-05/0.004114, allocations: 0 / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.004116, allocations: 0.5 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.004146, allocations: 0 / 451.3 MB, free: 3.172 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.00067/0.004816, allocations: 243.4 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.00487, allocations: 10.77 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.004917, allocations: 4.938 kB / 451.6 MB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.005045, allocations: 109.8 kB / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.005073, allocations: 384 / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.005083, allocations: 384 / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.005255, allocations: 55.84 kB / 451.7 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.005266, allocations: 192 / 451.7 MB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.005277, allocations: 9.188 kB / 451.7 MB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.005285, allocations: 2.297 kB / 451.7 MB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.00532, allocations: 7.938 kB / 451.7 MB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.00566, allocations: 149.4 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.482e-05/0.005734, allocations: 22.61 kB / 451.9 MB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.005756, allocations: 9.672 kB / 451.9 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.005772, allocations: 1.281 kB / 451.9 MB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.005803, allocations: 38.5 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.005804, allocations: 4.656 kB / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001646/0.005969, allocations: 38.31 kB / 452 MB, free: 2.391 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.006004, allocations: 57.19 kB / 452.1 MB, free: 2.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/0.006069, allocations: 99.89 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.006082, allocations: 25.7 kB / 452.2 MB, free: 2.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.006115, allocations: 88.12 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.006136, allocations: 8.703 kB / 452.3 MB, free: 2.086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.006174, allocations: 15.03 kB / 452.3 MB, free: 2.066 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.00626, allocations: 310.8 kB / 452.6 MB, free: 1.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.006279, allocations: 4 kB / 452.6 MB, free: 1.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.006291, allocations: 9.312 kB / 452.6 MB, free: 1.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.006326, allocations: 20.83 kB / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006328, allocations: 0 / 452.6 MB, free: 1.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.457e-05/0.006393, allocations: 39.62 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.006408, allocations: 4 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.006414, allocations: 0.9375 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.006424, allocations: 0 / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.006516, allocations: 12.5 kB / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.006519, allocations: 0 / 452.7 MB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.006543, allocations: 5.422 kB / 452.7 MB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.006547, allocations: 0 / 452.7 MB, free: 1.656 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 0.0001451/0.006692, allocations: 114.7 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.006714, allocations: 0.7812 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.006741, allocations: 7.312 kB / 452.8 MB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006744, allocations: 5.438 kB / 452.8 MB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.006749, allocations: 4.828 kB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.006754, allocations: 0 / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.006874, allocations: 65.89 kB / 452.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.006877, allocations: 4.844 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.00693, allocations: 8.641 kB / 452.9 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006936, allocations: 5.062 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006939, allocations: 0 / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.006944, allocations: 0 / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.006945, allocations: 0.625 kB / 452.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.006948, allocations: 5.312 kB / 452.9 MB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.007061, allocations: 132.1 kB / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007073, allocations: 0 / 453 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.08e-05/0.007133, allocations: 6.219 kB / 453 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.007177, allocations: 12.58 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.007181, allocations: 0 / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.302e-05/0.007194, allocations: 13.45 kB / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007194, allocations: 0 / 453.1 MB, free: 1.242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.00737, allocations: 4 kB / 453.1 MB, free: 1.238 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 9.946e-05/0.00747, allocations: 91.77 kB / 453.2 MB, free: 1.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.291e-05/0.007543, allocations: 12.86 kB / 453.2 MB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.007552, allocations: 5.062 kB / 453.2 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.381e-05/0.007576, allocations: 9.516 kB / 453.2 MB, free: 1.109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.007785, allocations: 15.45 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.008283, allocations: 113.9 kB / 453.3 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.144e-05/0.008334, allocations: 59.2 kB / 453.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.456e-05/0.008369, allocations: 6.969 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.008429, allocations: 52.98 kB / 453.4 MB, free: 0.832 MB / 426.7 MB Notification: Performance of SimCode: time 1.372e-06/0.00843, allocations: 0.7188 kB / 453.4 MB, free: 0.832 MB / 426.7 MB Notification: Performance of Templates: time 0.002748/0.01118, allocations: 0.6391 MB / 454.1 MB, free: 224 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.5968414014205337]