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.002278/0.002278, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002851/0.002851, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 1.306/1.306, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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 2.535e-06/2.535e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.61e-05, allocations: 5.875 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001879/0.001915, allocations: 0.6104 MB / 0.5202 GB, free: 1.977 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003178, allocations: 0.8405 MB / 0.521 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.003213, allocations: 0 / 0.521 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.003238, allocations: 1.406 kB / 0.521 GB, free: 1.125 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.003315, allocations: 5.25 kB / 0.521 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.003474, allocations: 19.92 kB / 0.521 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.003553, allocations: 27.92 kB / 0.5211 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003654, allocations: 4.578 kB / 0.5211 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.899e-05/0.003753, allocations: 21.11 kB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.003803, allocations: 11.98 kB / 0.5211 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.003824, allocations: 0 / 0.5211 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.003838, allocations: 4.719 kB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.003856, allocations: 4 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.003882, allocations: 8.531 kB / 0.5211 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.003978, allocations: 31.88 kB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003981, allocations: 1.25 kB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003982, allocations: 0 / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.003987, allocations: 0 / 0.5211 GB, free: 0.9922 MB / 490.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.0005758/0.004563, allocations: 357.2 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.004614, allocations: 12.03 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.004669, allocations: 5.453 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.004814, allocations: 112.6 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.004841, allocations: 3.812 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.004854, allocations: 4.375 kB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.005012, allocations: 50.23 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.005022, allocations: 192 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.005032, allocations: 384 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005036, allocations: 384 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.005167, allocations: 31.86 kB / 0.5217 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.005599, allocations: 247.8 kB / 0.5219 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.005735, allocations: 43.7 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.005807, allocations: 24.31 kB / 0.522 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.005826, allocations: 4.5 kB / 0.522 GB, free: 0 / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.005881, allocations: 34.33 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.005882, allocations: 0 / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.006204, allocations: 83.06 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.006267, allocations: 51.41 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.006404, allocations: 161.9 kB / 0.5223 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.006428, allocations: 26.55 kB / 0.5223 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.006514, allocations: 134.8 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.006533, allocations: 0.5 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.006593, allocations: 27.36 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002956/0.006889, allocations: 494.1 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.006953, allocations: 15.98 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.006999, allocations: 8 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.007115, allocations: 40.17 kB / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007117, allocations: 0.5312 kB / 0.523 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001559/0.007273, allocations: 62.34 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.007286, allocations: 4.562 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.007293, allocations: 5.688 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.007308, allocations: 0 / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.007396, allocations: 8 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007401, allocations: 0 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.023e-05/0.007441, allocations: 7.984 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.00745, allocations: 6.75 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB 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.0004202/0.00787, allocations: 156.6 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.007894, allocations: 4 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.007922, allocations: 7.25 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007924, allocations: 0 / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.007929, allocations: 0 / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007933, allocations: 192 / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.008103, allocations: 122.5 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008104, allocations: 3.938 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.008157, allocations: 7.984 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.008162, allocations: 3.984 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008171, allocations: 0.9375 kB / 0.5234 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.008176, allocations: 3.938 kB / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008177, allocations: 0 / 0.5234 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.008451, allocations: 208.6 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.008462, allocations: 4.609 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.008474, allocations: 3.125 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.00854, allocations: 7.938 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.008606, allocations: 11.98 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.008609, allocations: 0 / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.008686, allocations: 123.2 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008686, allocations: 3.938 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001989/0.008885, allocations: 4 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB 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 0.0001399/0.009025, allocations: 102.3 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.009214, allocations: 39.67 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009216, allocations: 0 / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.009289, allocations: 23.67 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.009556, allocations: 9.719 kB / 0.5239 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.009909, allocations: 120.1 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.19e-05/0.009981, allocations: 63.33 kB / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.01002, allocations: 6.938 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.01006, allocations: 12.44 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.01006, allocations: 4 kB / 0.5241 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.003566/0.01362, allocations: 0.6481 MB / 0.5248 GB, free: 13 MB / 0.4948 GB " [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: 6.142306205932982]