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.0009094/0.0009094, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001122/0.001122, allocations: 173 kB / 23.36 MB, free: 1.129 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 0.9323/0.9323, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8067/0.8067, allocations: 154.6 MB / 414.8 MB, free: 500 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. " [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.613e-06/1.613e-06, allocations: 0.7656 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.48e-05, allocations: 5.219 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001154/0.001169, allocations: 0.6164 MB / 480.6 MB, free: 6.336 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002181, allocations: 0.8664 MB / 481.5 MB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.002211, allocations: 1.25 kB / 481.5 MB, free: 5.461 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.002235, allocations: 3.938 kB / 481.5 MB, free: 5.457 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.846e-05/0.002294, allocations: 5.859 kB / 481.5 MB, free: 5.453 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.002421, allocations: 16.48 kB / 481.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.002477, allocations: 28.92 kB / 481.5 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.183e-05/0.002539, allocations: 4 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.235e-05/0.002612, allocations: 17.73 kB / 481.5 MB, free: 5.395 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.00265, allocations: 8.641 kB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.00267, allocations: 4 kB / 481.5 MB, free: 5.383 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.002678, allocations: 5.812 kB / 481.5 MB, free: 5.379 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.002694, allocations: 4.875 kB / 481.6 MB, free: 5.375 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.002708, allocations: 4.75 kB / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.325e-05/0.002771, allocations: 21.83 kB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002773, allocations: 0 / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002773, allocations: 4.812 kB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.002776, allocations: 0 / 481.6 MB, free: 5.348 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.0002399/0.003016, allocations: 232.9 kB / 481.8 MB, free: 5.098 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.003045, allocations: 8.031 kB / 481.8 MB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.003066, allocations: 4.938 kB / 481.8 MB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.685e-05/0.003132, allocations: 116.1 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.003147, allocations: 1 kB / 481.9 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.003157, allocations: 4.375 kB / 481.9 MB, free: 4.945 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.00325, allocations: 55.52 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.003256, allocations: 0.8125 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.003263, allocations: 384 / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.003268, allocations: 1 kB / 482 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.003293, allocations: 11.92 kB / 482 MB, free: 4.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.00346, allocations: 144.9 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.003502, allocations: 31.14 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.003514, allocations: 5.578 kB / 482.2 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.003523, allocations: 4.75 kB / 482.2 MB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.00354, allocations: 31.55 kB / 482.2 MB, free: 4.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003541, allocations: 1.781 kB / 482.2 MB, free: 4.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.066e-05/0.003632, allocations: 37.73 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.00366, allocations: 63.34 kB / 482.3 MB, free: 4.508 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.644e-05/0.003706, allocations: 108.5 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.003715, allocations: 26.61 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.003737, allocations: 84.08 kB / 482.5 MB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.003751, allocations: 8.766 kB / 482.5 MB, free: 4.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.003773, allocations: 13.7 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.003839, allocations: 320 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.003847, allocations: 0 / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.003855, allocations: 4.906 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.037e-05/0.003875, allocations: 10.08 kB / 482.9 MB, free: 3.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.003876, allocations: 0 / 482.9 MB, free: 3.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.793e-05/0.003914, allocations: 42.78 kB / 482.9 MB, free: 3.863 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.003923, allocations: 5.188 kB / 482.9 MB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.003926, allocations: 4 kB / 482.9 MB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.003936, allocations: 0 / 482.9 MB, free: 3.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.003992, allocations: 16.98 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/0.003994, allocations: 0 / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.00401, allocations: 8 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.004014, allocations: 0.7812 kB / 483 MB, free: 3.832 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 4.607e-05/0.00406, allocations: 107.3 kB / 483.1 MB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.004072, allocations: 4 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.004087, allocations: 9 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.004088, allocations: 0 / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.004091, allocations: 5.375 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004093, allocations: 0 / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.265e-05/0.004166, allocations: 70.52 kB / 483.2 MB, free: 3.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.004167, allocations: 4 kB / 483.2 MB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.004185, allocations: 8.891 kB / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004186, allocations: 0 / 483.2 MB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.004193, allocations: 4.875 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004194, allocations: 0.7656 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004195, allocations: 0.9062 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.255e-05/0.004257, allocations: 139.4 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-06/0.004262, allocations: 1.719 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.004269, allocations: 1.344 kB / 483.3 MB, free: 3.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.004299, allocations: 7.984 kB / 483.3 MB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.004328, allocations: 4 kB / 483.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.004331, allocations: 4.547 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.926e-06/0.00434, allocations: 13.72 kB / 483.3 MB, free: 3.422 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00434, allocations: 0 / 483.3 MB, free: 3.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.004452, allocations: 5.219 kB / 483.3 MB, free: 3.418 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 5.872e-05/0.00451, allocations: 76.42 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.642e-05/0.004557, allocations: 15.31 kB / 483.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004558, allocations: 0 / 483.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.004575, allocations: 17.31 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.004687, allocations: 9.25 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.004857, allocations: 103.4 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.004885, allocations: 59.34 kB / 483.6 MB, free: 3.086 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.648e-05/0.004901, allocations: 2.344 kB / 483.6 MB, free: 3.086 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.004941, allocations: 55.38 kB / 483.7 MB, free: 3.031 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.004942, allocations: 0 / 483.7 MB, free: 3.031 MB / 442.7 MB Notification: Performance of Templates: time 0.00181/0.006751, allocations: 0.6436 MB / 484.3 MB, free: 2.422 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.524252030067146]