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.001443/0.001443, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001059/0.001059, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9163/0.9163, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7207/0.7207, allocations: 154.6 MB / 414.8 MB, free: 0.543 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 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.763e-06/1.763e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.331e-05, allocations: 4.281 kB / 0.5207 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001207/0.00123, allocations: 0.6089 MB / 0.5213 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000729/0.001959, allocations: 0.8708 MB / 0.5222 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.001994, allocations: 0 / 0.5222 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.002021, allocations: 0 / 0.5222 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.002083, allocations: 5.578 kB / 0.5222 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.002213, allocations: 11.98 kB / 0.5222 GB, free: 452 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.002267, allocations: 27.92 kB / 0.5222 GB, free: 424 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.113e-05/0.002338, allocations: 1.594 kB / 0.5222 GB, free: 424 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.002408, allocations: 23.92 kB / 0.5223 GB, free: 400 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.606e-05/0.002444, allocations: 11.97 kB / 0.5223 GB, free: 388 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.002458, allocations: 0 / 0.5223 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002465, allocations: 8.438 kB / 0.5223 GB, free: 380 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.002478, allocations: 5.031 kB / 0.5223 GB, free: 376 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.596e-05/0.002494, allocations: 4 kB / 0.5223 GB, free: 372 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.294e-05/0.002557, allocations: 27.89 kB / 0.5223 GB, free: 344 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002559, allocations: 1.125 kB / 0.5223 GB, free: 344 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00256, allocations: 0 / 0.5223 GB, free: 344 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.544e-06/0.002562, allocations: 0 / 0.5223 GB, free: 344 kB / 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.0002845/0.002847, allocations: 357.3 kB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.002879, allocations: 9.062 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.002902, allocations: 8.891 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.002971, allocations: 104.6 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.002986, allocations: 5.938 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.002993, allocations: 4.359 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.003092, allocations: 50.95 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003098, allocations: 192 / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.003103, allocations: 5.5 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003108, allocations: 384 / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.003129, allocations: 11.92 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.003326, allocations: 233.1 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.003367, allocations: 36.38 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.00338, allocations: 11.69 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.003394, allocations: 4.062 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.003414, allocations: 42.61 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.003415, allocations: 0 / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001108/0.003526, allocations: 54.36 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.003548, allocations: 51.41 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.003608, allocations: 162.8 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.003618, allocations: 29.69 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.003652, allocations: 126.9 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.003665, allocations: 10.67 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.00369, allocations: 15.38 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.003924, allocations: 0.4884 MB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.003937, allocations: 0 / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.003949, allocations: 15.86 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.003973, allocations: 16.2 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.003974, allocations: 0 / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.714e-05/0.004021, allocations: 34.7 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.004033, allocations: 11.98 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.004037, allocations: 1.094 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.004046, allocations: 3.938 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.0041, allocations: 5.5 kB / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.004102, allocations: 0 / 0.5241 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.00412, allocations: 4 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.004124, allocations: 3.984 kB / 0.5242 GB, free: 14.26 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 5.491e-05/0.004179, allocations: 161 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.004193, allocations: 5.031 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.004211, allocations: 6.906 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.004213, allocations: 3.938 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004214, allocations: 0.9688 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.004216, allocations: 0 / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.734e-05/0.004293, allocations: 97.88 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.004294, allocations: 0 / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.004315, allocations: 15.25 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004316, allocations: 0 / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.004321, allocations: 0 / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004321, allocations: 0 / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004322, allocations: 0 / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.714e-05/0.00441, allocations: 187.9 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.004416, allocations: 3.953 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.004423, allocations: 4 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.004454, allocations: 6.422 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.004485, allocations: 11.94 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.00449, allocations: 7.922 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.807e-05/0.004518, allocations: 123.2 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004518, allocations: 0 / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001291/0.004647, allocations: 4 kB / 0.5248 GB, free: 13.59 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 6.518e-05/0.004712, allocations: 92.31 kB / 0.5249 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.5e-05/0.004767, allocations: 24.64 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.004768, allocations: 0 / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.88e-05/0.004787, allocations: 20.67 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.00495, allocations: 7.938 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.005132, allocations: 125.6 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.952e-05/0.005161, allocations: 67.28 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.742e-05/0.005179, allocations: 0 / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.005221, allocations: 70.2 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.005221, allocations: 0 / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of Templates: time 0.001923/0.007144, allocations: 0.7096 MB / 0.5258 GB, free: 12.46 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: 3.305096561089158]